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.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.AWS.AppSync.dll
Syntax (csharp)
public class DynamoDBConfigProperty : Object, CfnDataSource.IDynamoDBConfigProperty
Syntax (vb)
Public Class DynamoDBConfigProperty
Inherits Object
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() |
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()
public DynamoDBConfigProperty()
Properties
AwsRegion
The AWS Region.
public string AwsRegion { get; set; }
Property Value
System.String
Remarks
DeltaSyncConfig
The DeltaSyncConfig
for a versioned datasource.
public object DeltaSyncConfig { get; set; }
Property Value
System.Object
Remarks
TableName
The table name.
public string TableName { get; set; }
Property Value
System.String
Remarks
UseCallerCredentials
Set to TRUE
to use AWS Identity and Access Management with this data source.
public object UseCallerCredentials { get; set; }
Property Value
System.Object
Remarks
Versioned
Set to TRUE to use Conflict Detection and Resolution with this data source.
public object Versioned { get; set; }
Property Value
System.Object