BaseDataSourceProps
- class aws_cdk.aws_appsync.BaseDataSourceProps(*, api, description=None, name=None)
Bases:
objectBase properties for an AppSync datasource.
- Parameters:
api (
IGraphQLApiRef) – The API to attach this data source to.description (
Optional[str]) – the description of the data source. Default: - Nonename (
Optional[str]) – The name of the data source. Default: - id of data source
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_appsync as appsync from aws_cdk.interfaces import aws_appsync as interfaces_appsync # graph_qLApi_ref: interfaces_appsync.IGraphQLApiRef base_data_source_props = appsync.BaseDataSourceProps( api=graph_qLApi_ref, # the properties below are optional description="description", name="name" )
Attributes
- api
The API to attach this data source to.
- description
the description of the data source.
- Default:
None
- name
The name of the data source.
- Default:
id of data source