interface AppSyncDataSourceOptions
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AppSync.AppSyncDataSourceOptions |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsappsync#AppSyncDataSourceOptions |
Java | software.amazon.awscdk.services.appsync.AppSyncDataSourceOptions |
Python | aws_cdk.aws_appsync.AppSyncDataSourceOptions |
TypeScript (source) | aws-cdk-lib » aws_appsync » AppSyncDataSourceOptions |
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 { aws_appsync as appsync } from 'aws-cdk-lib';
const appSyncDataSourceOptions: appsync.AppSyncDataSourceOptions = {
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.

.NET
Go
Java
Python
TypeScript (