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();
 
  • Method Details

    • getAwsRegion

      @Stability(Stable) @NotNull String getAwsRegion()
      The AWS Region.
    • getTableName

      @Stability(Stable) @NotNull String getTableName()
      The table name.
    • getDeltaSyncConfig

      @Stability(Stable) @Nullable default Object getDeltaSyncConfig()
      The DeltaSyncConfig for a versioned datasource.
    • getUseCallerCredentials

      @Stability(Stable) @Nullable default Object getUseCallerCredentials()
      Set to TRUE to use AWS Identity and Access Management with this data source.
    • getVersioned

      @Stability(Stable) @Nullable default Object getVersioned()
      Set to TRUE to use Conflict Detection and Resolution with this data source.
    • builder

      @Stability(Stable) static CfnDataSource.DynamoDBConfigProperty.Builder builder()
      Returns:
      a CfnDataSource.DynamoDBConfigProperty.Builder of CfnDataSource.DynamoDBConfigProperty