DataSourceOptions

class aws_cdk.aws_appsync.DataSourceOptions(*, description=None, name=None)

Bases: object

(experimental) Optional configuration for data sources.

Parameters
  • description (Optional[str]) – (experimental) The description of the data source. Default: - No description

  • name (Optional[str]) – (experimental) The name of the data source, overrides the id given by cdk. Default: - generated by cdk given the id

Stability

experimental

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_appsync as appsync

data_source_options = appsync.DataSourceOptions(
    description="description",
    name="name"
)

Attributes

description

(experimental) The description of the data source.

Default
  • No description

Stability

experimental

Return type

Optional[str]

name

(experimental) The name of the data source, overrides the id given by cdk.

Default
  • generated by cdk given the id

Stability

experimental

Return type

Optional[str]