Interface GlobalTableProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,SchemaOptions,StackProps,TableOptions
- All Known Implementing Classes:
GlobalTableProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:43.109Z")
@Stability(Deprecated)
@Deprecated
public interface GlobalTableProps
extends software.amazon.jsii.JsiiSerializable, StackProps, TableOptions
Deprecated.
(deprecated) Properties for the multiple DynamoDB tables to mash together into a global table.
Example:
import software.amazon.awscdk.services.dynamodb.AttributeType;
import software.amazon.awscdk.services.dynamodb.global.GlobalTable;
import software.amazon.awscdk.core.App;
App app = new App();
GlobalTable.Builder.create(app, "globdynamodb")
.partitionKey(Attribute.builder().name("hashKey").type(AttributeType.STRING).build())
.tableName("GlobalTable")
.regions(List.of("us-east-1", "us-east-2", "us-west-2"))
.build();
app.synth();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classDeprecated.static final classDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic GlobalTableProps.Builderbuilder()Deprecated.Deprecated.Deprecated.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.dynamodb.SchemaOptions
getPartitionKey, getSortKeyMethods inherited from interface software.amazon.awscdk.core.StackProps
getAnalyticsReporting, getDescription, getEnv, getStackName, getSynthesizer, getTags, getTerminationProtectionMethods inherited from interface software.amazon.awscdk.services.dynamodb.TableOptions
getBillingMode, getContributorInsightsEnabled, getEncryption, getEncryptionKey, getPointInTimeRecovery, getReadCapacity, getRemovalPolicy, getReplicationRegions, getReplicationTimeout, getServerSideEncryption, getStream, getTableClass, getTimeToLiveAttribute, getWaitForReplicationToFinish, getWriteCapacity
-
Method Details
-
getRegions
Deprecated.(deprecated) Array of environments to create DynamoDB tables in.The tables will all be created in the same account.
-
getTableName
Deprecated.(deprecated) Name of the DynamoDB table to use across all regional tables.This is required for global tables.
-
builder
Deprecated.- Returns:
- a
GlobalTableProps.BuilderofGlobalTableProps
-