@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:06.476Z") @Stability(value=Experimental) public interface TableOptions extends software.amazon.jsii.JsiiSerializable
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()
(experimental) Specify how you are charged for read and write throughput and how you manage capacity.
|
default Boolean |
getContributorInsightsEnabled()
(experimental) Whether CloudWatch contributor insights is enabled.
|
default TableEncryption |
getEncryption()
(experimental) Whether server-side encryption with an AWS managed customer master key is enabled.
|
default IKey |
getEncryptionKey()
(experimental) External KMS key to use for table encryption.
|
Attribute |
getPartitionKey()
(experimental) Partition key attribute definition.
|
default Boolean |
getPointInTimeRecovery()
(experimental) Whether point-in-time recovery is enabled.
|
default Number |
getReadCapacity()
(experimental) The read capacity for the table.
|
default RemovalPolicy |
getRemovalPolicy()
(experimental) The removal policy to apply to the DynamoDB Table.
|
default List<String> |
getReplicationRegions()
(experimental) Regions where replica tables will be created.
|
default Duration |
getReplicationTimeout()
(experimental) The timeout for a table replication operation in a single region.
|
default Attribute |
getSortKey()
(experimental) Table sort key attribute definition.
|
default StreamViewType |
getStream()
(experimental) When an item in the table is modified, StreamViewType determines what information is written to the stream for this table.
|
default String |
getTimeToLiveAttribute()
(experimental) The name of TTL attribute.
|
default Number |
getWriteCapacity()
(experimental) The write capacity for the table.
|
@Stability(value=Experimental) @NotNull Attribute getPartitionKey()
@Stability(value=Experimental) @Nullable default BillingMode getBillingMode()
Default: PROVISIONED if `replicationRegions` is not specified, PAY_PER_REQUEST otherwise
@Stability(value=Experimental) @Nullable default Boolean getContributorInsightsEnabled()
Default: false
@Stability(value=Experimental) @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=Experimental) @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=Experimental) @Nullable default Boolean getPointInTimeRecovery()
Default: - point-in-time recovery is disabled
@Stability(value=Experimental) @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=Experimental) @Nullable default RemovalPolicy getRemovalPolicy()
Default: RemovalPolicy.RETAIN
@Stability(value=Experimental) @Nullable default List<String> getReplicationRegions()
Default: - no replica tables are created
@Stability(value=Experimental) @Nullable default Duration getReplicationTimeout()
Default: Duration.minutes(30)
@Stability(value=Experimental) @Nullable default Attribute getSortKey()
Default: no sort key
@Stability(value=Experimental) @Nullable default StreamViewType getStream()
Default: - streams are disabled unless `replicationRegions` is specified
@Stability(value=Experimental) @Nullable default String getTimeToLiveAttribute()
Default: - TTL is disabled
@Stability(value=Experimental) @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=Experimental) static TableOptions.Builder builder()
TableOptions.Builder of TableOptionsCopyright © 2021. All rights reserved.