@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-07-12T14:11:26.770Z") @Stability(value=Stable) public interface TableOptions extends software.amazon.jsii.JsiiSerializable, SchemaOptions
Use {@link TableProps} for all table properties
| Modifier and Type | Interface and Description |
|---|---|
static class |
TableOptions.Builder
A builder for
TableOptions |
static class |
TableOptions.Jsii$Proxy
An implementation for
TableOptions |
| Modifier and Type | Method and Description |
|---|---|
static TableOptions.Builder |
builder() |
default BillingMode |
getBillingMode()
Specify how you are charged for read and write throughput and how you manage capacity.
|
default Boolean |
getContributorInsightsEnabled()
Whether CloudWatch contributor insights is enabled.
|
default TableEncryption |
getEncryption()
Whether server-side encryption with an AWS managed customer master key is enabled.
|
default IKey |
getEncryptionKey()
External KMS key to use for table encryption.
|
default Boolean |
getPointInTimeRecovery()
Whether point-in-time recovery is enabled.
|
default Number |
getReadCapacity()
The read capacity for the table.
|
default RemovalPolicy |
getRemovalPolicy()
The removal policy to apply to the DynamoDB Table.
|
default List<String> |
getReplicationRegions()
Regions where replica tables will be created.
|
default Duration |
getReplicationTimeout()
The timeout for a table replication operation in a single region.
|
default Boolean |
getServerSideEncryption()
Deprecated.
This property is deprecated. In order to obtain the same behavior as
enabling this, set the `encryption` property to `TableEncryption.AWS_MANAGED` instead.
|
default StreamViewType |
getStream()
When an item in the table is modified, StreamViewType determines what information is written to the stream for this table.
|
default String |
getTimeToLiveAttribute()
The name of TTL attribute.
|
default Number |
getWriteCapacity()
The write capacity for the table.
|
getPartitionKey, getSortKey@Stability(value=Stable) @Nullable default BillingMode getBillingMode()
Default: PROVISIONED if `replicationRegions` is not specified, PAY_PER_REQUEST otherwise
@Stability(value=Stable) @Nullable default Boolean getContributorInsightsEnabled()
Default: false
@Stability(value=Stable) @Nullable default TableEncryption getEncryption()
This property cannot be set if serverSideEncryption is set.
Default: - server-side encryption is enabled with an AWS owned customer master key
@Stability(value=Stable) @Nullable default IKey getEncryptionKey()
This property can only be set if encryption is set to TableEncryption.CUSTOMER_MANAGED.
Default: - If `encryption` is set to `TableEncryption.CUSTOMER_MANAGED` and this property is undefined, a new KMS key will be created and associated with this table.
@Stability(value=Stable) @Nullable default Boolean getPointInTimeRecovery()
Default: - point-in-time recovery is disabled
@Stability(value=Stable) @Nullable default Number getReadCapacity()
Careful if you add Global Secondary Indexes, as those will share the table's provisioned throughput.
Can only be provided if billingMode is Provisioned.
Default: 5
@Stability(value=Stable) @Nullable default RemovalPolicy getRemovalPolicy()
Default: RemovalPolicy.RETAIN
@Stability(value=Stable) @Nullable default List<String> getReplicationRegions()
Default: - no replica tables are created
@Stability(value=Stable) @Nullable default Duration getReplicationTimeout()
Default: Duration.minutes(30)
@Stability(value=Deprecated) @Deprecated @Nullable default Boolean getServerSideEncryption()
This property cannot be set if encryption and/or encryptionKey is set.
Default: - server-side encryption is enabled with an AWS owned customer master key
@Stability(value=Stable) @Nullable default StreamViewType getStream()
Default: - streams are disabled unless `replicationRegions` is specified
@Stability(value=Stable) @Nullable default String getTimeToLiveAttribute()
Default: - TTL is disabled
@Stability(value=Stable) @Nullable default Number getWriteCapacity()
Careful if you add Global Secondary Indexes, as those will share the table's provisioned throughput.
Can only be provided if billingMode is Provisioned.
Default: 5
@Stability(value=Stable) static TableOptions.Builder builder()
builder in interface SchemaOptionsTableOptions.Builder of TableOptionsCopyright © 2021. All rights reserved.