interface DynamoDBConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppSync.Mixins.CfnDataSourcePropsMixin.DynamoDBConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappsync/mixins#CfnDataSourcePropsMixin_DynamoDBConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.appsync.mixins.CfnDataSourcePropsMixin.DynamoDBConfigProperty |
Python | aws_cdk.mixins_preview.aws_appsync.mixins.CfnDataSourcePropsMixin.DynamoDBConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_appsync » mixins » CfnDataSourcePropsMixin » DynamoDBConfigProperty |
The DynamoDBConfig property type specifies the AwsRegion and TableName for an Amazon DynamoDB table in your account for an AWS AppSync data source.
DynamoDBConfig is a property of the AWS::AppSync::DataSource property type.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as appsync_mixins } from '@aws-cdk/mixins-preview/aws-appsync';
const dynamoDBConfigProperty: appsync_mixins.CfnDataSourcePropsMixin.DynamoDBConfigProperty = {
awsRegion: 'awsRegion',
deltaSyncConfig: {
baseTableTtl: 'baseTableTtl',
deltaSyncTableName: 'deltaSyncTableName',
deltaSyncTableTtl: 'deltaSyncTableTtl',
},
tableName: 'tableName',
useCallerCredentials: false,
versioned: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| aws | string | The AWS Region. |
| delta | IResolvable | Delta | The DeltaSyncConfig for a versioned datasource. |
| table | string | The table name. |
| use | boolean | IResolvable | Set to TRUE to use AWS Identity and Access Management with this data source. |
| versioned? | boolean | IResolvable | Set to TRUE to use Conflict Detection and Resolution with this data source. |
awsRegion?
Type:
string
(optional)
The AWS Region.
deltaSyncConfig?
Type:
IResolvable | Delta
(optional)
The DeltaSyncConfig for a versioned datasource.
tableName?
Type:
string
(optional)
The table name.
useCallerCredentials?
Type:
boolean | IResolvable
(optional)
Set to TRUE to use AWS Identity and Access Management with this data source.
versioned?
Type:
boolean | IResolvable
(optional)
Set to TRUE to use Conflict Detection and Resolution with this data source.

.NET
Go
Java
Python
TypeScript