Interface TableProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,SchemaOptions,TableOptions
- All Known Implementing Classes:
TableProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:42.300Z")
@Stability(Stable)
public interface TableProps
extends software.amazon.jsii.JsiiSerializable, TableOptions
Properties for a DynamoDB Table.
Example:
Table globalTable = Table.Builder.create(this, "Table")
.partitionKey(Attribute.builder().name("id").type(AttributeType.STRING).build())
.replicationRegions(List.of("us-east-1", "us-east-2", "us-west-2"))
.billingMode(BillingMode.PROVISIONED)
.build();
globalTable.autoScaleWriteCapacity(EnableScalingProps.builder()
.minCapacity(1)
.maxCapacity(10)
.build()).scaleOnUtilization(UtilizationScalingProps.builder().targetUtilizationPercent(75).build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forTablePropsstatic final classAn implementation forTableProps -
Method Summary
Modifier and TypeMethodDescriptionstatic TableProps.Builderbuilder()default IStreamKinesis Data Stream to capture item-level changes for the table.default StringEnforces a particular physical table name.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.services.dynamodb.TableOptions
getBillingMode, getContributorInsightsEnabled, getEncryption, getEncryptionKey, getPointInTimeRecovery, getReadCapacity, getRemovalPolicy, getReplicationRegions, getReplicationTimeout, getServerSideEncryption, getStream, getTableClass, getTimeToLiveAttribute, getWaitForReplicationToFinish, getWriteCapacity
-
Method Details
-
getKinesisStream
Kinesis Data Stream to capture item-level changes for the table.Default: - no Kinesis Data Stream
-
getTableName
Enforces a particular physical table name.Default:
-
builder
- Returns:
- a
TableProps.BuilderofTableProps
-