@Stability(value=Stable) @Internal public static final class TableProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements TableProps
TablePropssoftware.amazon.jsii.JsiiObject.InitializationModeTableProps.Builder, TableProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(TableProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
TableProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
BillingMode |
getBillingMode()
Specify how you are charged for read and write throughput and how you manage capacity.
|
Boolean |
getContributorInsightsEnabled()
Whether CloudWatch contributor insights is enabled.
|
TableEncryption |
getEncryption()
Whether server-side encryption with an AWS managed customer master key is enabled.
|
IKey |
getEncryptionKey()
External KMS key to use for table encryption.
|
IStream |
getKinesisStream()
Kinesis Data Stream to capture item-level changes for the table.
|
Attribute |
getPartitionKey()
Partition key attribute definition.
|
Boolean |
getPointInTimeRecovery()
Whether point-in-time recovery is enabled.
|
Number |
getReadCapacity()
The read capacity for the table.
|
RemovalPolicy |
getRemovalPolicy()
The removal policy to apply to the DynamoDB Table.
|
List<String> |
getReplicationRegions()
Regions where replica tables will be created.
|
Duration |
getReplicationTimeout()
The timeout for a table replication operation in a single region.
|
Attribute |
getSortKey()
Sort key attribute definition.
|
StreamViewType |
getStream()
When an item in the table is modified, StreamViewType determines what information is written to the stream for this table.
|
TableClass |
getTableClass()
Specify the table class.
|
String |
getTableName()
Enforces a particular physical table name.
|
String |
getTimeToLiveAttribute()
The name of TTL attribute.
|
Boolean |
getWaitForReplicationToFinish()
Indicates whether CloudFormation stack waits for replication to finish.
|
Number |
getWriteCapacity()
The write capacity for the table.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(TableProps.Builder builder)
TableProps.Builder.public final IStream getKinesisStream()
TablePropsDefault: - no Kinesis Data Stream
getKinesisStream in interface TablePropspublic final String getTableName()
TableProps
Default:
getTableName in interface TablePropspublic final BillingMode getBillingMode()
TableOptionsDefault: PROVISIONED if `replicationRegions` is not specified, PAY_PER_REQUEST otherwise
getBillingMode in interface TableOptionspublic final Boolean getContributorInsightsEnabled()
TableOptionsDefault: false
getContributorInsightsEnabled in interface TableOptionspublic final TableEncryption getEncryption()
TableOptions
This property cannot be set if serverSideEncryption is set.
NOTE: if you set this to
CUSTOMER_MANAGEDandencryptionKeyis not specified, the key that the Tablet generates for you will be created with default permissions. If you are using CDKv2, these permissions will be sufficient to enable the key for use with DynamoDB tables. If you are using CDKv1, make sure the feature flag@aws-cdk/aws-kms:defaultKeyPoliciesis set totruein yourcdk.json.
Default: - The table is encrypted with an encryption key managed by DynamoDB, and you are not charged any fee for using it.
getEncryption in interface TableOptionspublic final IKey getEncryptionKey()
TableOptions
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. If `encryption` and this property are both undefined, then the table is encrypted with an encryption key managed by DynamoDB, and you are not charged any fee for using it.
getEncryptionKey in interface TableOptionspublic final Boolean getPointInTimeRecovery()
TableOptionsDefault: - point-in-time recovery is disabled
getPointInTimeRecovery in interface TableOptionspublic final Number getReadCapacity()
TableOptionsCareful 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
getReadCapacity in interface TableOptionspublic final RemovalPolicy getRemovalPolicy()
TableOptionsDefault: RemovalPolicy.RETAIN
getRemovalPolicy in interface TableOptionspublic final List<String> getReplicationRegions()
TableOptionsDefault: - no replica tables are created
getReplicationRegions in interface TableOptionspublic final Duration getReplicationTimeout()
TableOptionsDefault: Duration.minutes(30)
getReplicationTimeout in interface TableOptionspublic final StreamViewType getStream()
TableOptionsDefault: - streams are disabled unless `replicationRegions` is specified
getStream in interface TableOptionspublic final TableClass getTableClass()
TableOptionsDefault: STANDARD
getTableClass in interface TableOptionspublic final String getTimeToLiveAttribute()
TableOptionsDefault: - TTL is disabled
getTimeToLiveAttribute in interface TableOptionspublic final Boolean getWaitForReplicationToFinish()
TableOptionsIf set to false, the CloudFormation resource will mark the resource as created and replication will be completed asynchronously. This property is ignored if replicationRegions property is not set.
DO NOT UNSET this property if adding/removing multiple replicationRegions in one deployment, as CloudFormation only supports one region replication at a time. CDK overcomes this limitation by waiting for replication to finish before starting new replicationRegion.
Default: true
public final Number getWriteCapacity()
TableOptionsCareful 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
getWriteCapacity in interface TableOptionspublic final Attribute getPartitionKey()
SchemaOptionsgetPartitionKey in interface SchemaOptionspublic final Attribute getSortKey()
SchemaOptionsDefault: no sort key
getSortKey in interface SchemaOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.