Interface CfnDataSource.DynamoDBConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSource.DynamoDBConfigProperty.Jsii$Proxy
- Enclosing class:
CfnDataSource
@Stability(Stable)
public static interface CfnDataSource.DynamoDBConfigProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.appsync.*;
DynamoDBConfigProperty dynamoDBConfigProperty = DynamoDBConfigProperty.builder()
.awsRegion("awsRegion")
.tableName("tableName")
// the properties below are optional
.deltaSyncConfig(DeltaSyncConfigProperty.builder()
.baseTableTtl("baseTableTtl")
.deltaSyncTableName("deltaSyncTableName")
.deltaSyncTableTtl("deltaSyncTableTtl")
.build())
.useCallerCredentials(false)
.versioned(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataSource.DynamoDBConfigPropertystatic final classAn implementation forCfnDataSource.DynamoDBConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The AWS Region.default ObjectTheDeltaSyncConfigfor a versioned datasource.The table name.default ObjectSet toTRUEto use AWS Identity and Access Management with this data source.default ObjectSet to TRUE to use Conflict Detection and Resolution with this data source.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAwsRegion
The AWS Region.- See Also:
-
getTableName
The table name.- See Also:
-
getDeltaSyncConfig
TheDeltaSyncConfigfor a versioned datasource.Returns union: either
IResolvableorCfnDataSource.DeltaSyncConfigProperty- See Also:
-
getUseCallerCredentials
Set toTRUEto use AWS Identity and Access Management with this data source.Returns union: either
BooleanorIResolvable- See Also:
-
getVersioned
Set to TRUE to use Conflict Detection and Resolution with this data source.Returns union: either
BooleanorIResolvable- See Also:
-
builder
-