aws-cdk-lib.aws_appsync.DataSourceOptions

interface DataSourceOptions

LanguageType name
.NETAmazon.CDK.AWS.AppSync.DataSourceOptions
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappsync#DataSourceOptions
Javasoftware.amazon.awscdk.services.appsync.DataSourceOptions
Pythonaws_cdk.aws_appsync.DataSourceOptions
TypeScript (source)aws-cdk-lib » 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 { aws_appsync as appsync } from 'aws-cdk-lib';
const dataSourceOptions: appsync.DataSourceOptions = {
  description: 'description',
  name: 'name',
};

Properties

NameTypeDescription
description?stringThe description of the data source.
name?stringThe 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.