Interface CfnDataSourcePropsMixin.DynamoDBConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSourcePropsMixin.DynamoDBConfigProperty.Jsii$Proxy
- Enclosing class:
CfnDataSourcePropsMixin
@Stability(Stable)
public static interface CfnDataSourcePropsMixin.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.cfnpropertymixins.services.appsync.*;
DynamoDBConfigProperty dynamoDBConfigProperty = DynamoDBConfigProperty.builder()
.awsRegion("awsRegion")
.deltaSyncConfig(DeltaSyncConfigProperty.builder()
.baseTableTtl("baseTableTtl")
.deltaSyncTableName("deltaSyncTableName")
.deltaSyncTableTtl("deltaSyncTableTtl")
.build())
.tableName("tableName")
.useCallerCredentials(false)
.versioned(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataSourcePropsMixin.DynamoDBConfigPropertystatic final classAn implementation forCfnDataSourcePropsMixin.DynamoDBConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe AWS Region.default ObjectTheDeltaSyncConfigfor a versioned datasource.default ObjectThe 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:
-
getDeltaSyncConfig
TheDeltaSyncConfigfor a versioned datasource.Returns union: either
IResolvableorCfnDataSourcePropsMixin.DeltaSyncConfigProperty- See Also:
-
getTableName
- 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
-