Class CfnDataSource.DynamoDBConfigProperty
The DynamoDBConfig property type specifies the AwsRegion and TableName for an Amazon DynamoDB table in your account for an AWS AppSync data source.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDataSource.DynamoDBConfigProperty : CfnDataSource.IDynamoDBConfigProperty
Syntax (vb)
Public Class CfnDataSource.DynamoDBConfigProperty Implements CfnDataSource.IDynamoDBConfigProperty
Remarks
DynamoDBConfig is a property of the AWS::AppSync::DataSource property type.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppSync;
var dynamoDBConfigProperty = new DynamoDBConfigProperty {
AwsRegion = "awsRegion",
TableName = "tableName",
// the properties below are optional
DeltaSyncConfig = new DeltaSyncConfigProperty {
BaseTableTtl = "baseTableTtl",
DeltaSyncTableName = "deltaSyncTableName",
DeltaSyncTableTtl = "deltaSyncTableTtl"
},
UseCallerCredentials = false,
Versioned = false
};
Synopsis
Constructors
| DynamoDBConfigProperty() | The |
Properties
| AwsRegion | The AWS Region. |
| DeltaSyncConfig | The |
| TableName | The table name. |
| UseCallerCredentials | Set to |
| Versioned | Set to TRUE to use Conflict Detection and Resolution with this data source. |
Constructors
DynamoDBConfigProperty()
The DynamoDBConfig property type specifies the AwsRegion and TableName for an Amazon DynamoDB table in your account for an AWS AppSync data source.
public DynamoDBConfigProperty()
Remarks
DynamoDBConfig is a property of the AWS::AppSync::DataSource property type.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppSync;
var dynamoDBConfigProperty = new DynamoDBConfigProperty {
AwsRegion = "awsRegion",
TableName = "tableName",
// the properties below are optional
DeltaSyncConfig = new DeltaSyncConfigProperty {
BaseTableTtl = "baseTableTtl",
DeltaSyncTableName = "deltaSyncTableName",
DeltaSyncTableTtl = "deltaSyncTableTtl"
},
UseCallerCredentials = false,
Versioned = false
};
Properties
AwsRegion
The AWS Region.
public string AwsRegion { get; set; }
Property Value
Remarks
DeltaSyncConfig
The DeltaSyncConfig for a versioned datasource.
public object? DeltaSyncConfig { get; set; }
Property Value
Remarks
TableName
The table name.
public string TableName { get; set; }
Property Value
Remarks
UseCallerCredentials
Set to TRUE to use AWS Identity and Access Management with this data source.
public object? UseCallerCredentials { get; set; }
Property Value
Remarks
Versioned
Set to TRUE to use Conflict Detection and Resolution with this data source.
public object? Versioned { get; set; }