Optional
Readonly
billingOptional
Readonly
contributorWhether CloudWatch contributor insights is enabled.
Optional
Readonly
deletionEnables deletion protection for the table.
We recommend using DevX Backups to protect your DynamoDB table's backups. For more details on this feature, see the documentation.
Optional
Readonly
encryptionWhether server-side encryption with an AWS managed customer master key is enabled.
This property cannot be set if serverSideEncryption
is set.
NOTE: if you set this to
CUSTOMER_MANAGED
andencryptionKey
is 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:defaultKeyPolicies
is set totrue
in yourcdk.json
.
Optional
Readonly
encryptionExternal KMS key to use for table encryption.
This property can only be set if encryption
is set to TableEncryption.CUSTOMER_MANAGED
.
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.Optional
Readonly
importThe properties of data being imported from the S3 bucket source to the table.
Optional
Readonly
kinesisKinesis Data Stream approximate creation timestamp prescision
Optional
Readonly
kinesisKinesis Data Stream to capture item-level changes for the table.
Optional
Readonly
maxThe maximum read request units for the table. Careful if you add Global Secondary Indexes, as
Can only be provided if billingMode is PAY_PER_REQUEST.
Optional
Readonly
maxThe write request units for the table. Careful if you add Global Secondary Indexes, as those will share the table's maximum on-demand throughput.
Can only be provided if billingMode is PAY_PER_REQUEST.
Readonly
partitionPartition key attribute definition.
Optional
Readonly
pointWhether point-in-time recovery is enabled.
Optional
Readonly
readThe read capacity for the table. Careful if you add Global Secondary Indexes, as those will share the table's provisioned throughput.
Can only be provided if billingMode is Provisioned.
Optional
Readonly
removalThe removal policy to apply to the DynamoDB Table.
Optional
Readonly
replicationRegions where replica tables will be created
Optional
Readonly
replicationThe timeout for a table replication operation in a single region.
Optional
Readonly
resourceResource policy to assign to table.
Optional
Readonly
sortSort key attribute definition.
Optional
Readonly
streamWhen an item in the table is modified, StreamViewType determines what information is written to the stream for this table.
Optional
Readonly
tableSpecify the table class.
Optional
Readonly
tableEnforces a particular physical table name.
Optional
Readonly
timeThe name of TTL attribute.
Optional
Readonly
wait[WARNING: Use this flag with caution, misusing this flag may cause deleting existing replicas, refer to the detailed documentation for more information] Indicates whether CloudFormation stack waits for replication to finish. If 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.
WARNING: 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.
If the custom resource which handles replication has a physical resource
ID with the format region
instead of tablename-region
(this would happen
if the custom resource hasn't received an event since v1.91.0), DO NOT SET
this property to false without making a change to the table name.
This will cause the existing replicas to be deleted.
Optional
Readonly
warmSpecify values to pre-warm you DynamoDB Table
Warm Throughput feature is not available for Global Table replicas using the Table
construct. To enable Warm Throughput, use the TableV2
construct instead.
Optional
Readonly
writeThe write capacity for the table. Careful if you add Global Secondary Indexes, as those will share the table's provisioned throughput.
Can only be provided if billingMode is Provisioned.
Specify how you are charged for read and write throughput and how you manage capacity.