interface DataSourceOptions
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppSync.DataSourceOptions |
Java | software.amazon.awscdk.services.appsync.DataSourceOptions |
Python | aws_cdk.aws_appsync.DataSourceOptions |
TypeScript (source) | @aws-cdk/aws-appsync » DataSourceOptions |
Optional configuration for data sources.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as appsync from '@aws-cdk/aws-appsync';
const dataSourceOptions: appsync.DataSourceOptions = {
description: 'description',
name: 'name',
};
Properties
Name | Type | Description |
---|---|---|
description? | string | The description of the data source. |
name? | string | The name of the data source, overrides the id given by cdk. |
description?
Type:
string
(optional, default: No description)
The description of the data source.
name?
Type:
string
(optional, default: generated by cdk given the id)
The name of the data source, overrides the id given by cdk.