@Stability(value=Stable)
public static interface CfnDataSource.DynamoDBConfigProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDataSource.DynamoDBConfigProperty.Builder
A builder for
CfnDataSource.DynamoDBConfigProperty |
static class |
CfnDataSource.DynamoDBConfigProperty.Jsii$Proxy
An implementation for
CfnDataSource.DynamoDBConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDataSource.DynamoDBConfigProperty.Builder |
builder() |
String |
getAwsRegion()
The AWS Region.
|
default Object |
getDeltaSyncConfig()
The `DeltaSyncConfig` for a versioned datasource.
|
String |
getTableName()
The table name.
|
default Object |
getUseCallerCredentials()
Set to `TRUE` to use AWS Identity and Access Management with this data source.
|
default Object |
getVersioned()
Set to TRUE to use Conflict Detection and Resolution with this data source.
|
@Stability(value=Stable) @NotNull String getAwsRegion()
@Stability(value=Stable) @NotNull String getTableName()
@Stability(value=Stable) @Nullable default Object getDeltaSyncConfig()
@Stability(value=Stable) @Nullable default Object getUseCallerCredentials()
@Stability(value=Stable) @Nullable default Object getVersioned()
@Stability(value=Stable) static CfnDataSource.DynamoDBConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.