Defining DynamoDB Tables

The following properties are applicable to a DynamoDB Table object.

Fields marked with an asterisk (*) are mandatory.

Tab

Property

Description

Additional Information

General Physical Name* Specifies the physical name of the table Ensure that the table name is unique for the current AWS account and region. For example, if you create 2 tables, with the table name Customer for 2 different regions, these tables are identified entirely different from each other.
Table ARN Specifies the Amazon Resource Name (ARN) for identifying the table uniquely  
Throughput Mode* Specifies how you are charged for read and write throughput

PAY_PER_REQUEST: Indicates that the billing mode is set to on-demand mode

PROVISIONED: Indicates that the billing mode is set to provisioned. Requires read capacity units and write capacity units as inputs

Read Capacity Specifies the maximum number of consistent reads consumed per second before the DynamoDB returns an exception Available when Throughput Mode is set to PROVISIONED
Write Capacity Specifies the maximum number of writes consumed per second before the DynamoDB return an exception Available when Throughput Mode is set to PROVISIONED
Region Name Specifies AWS region of the table  
Time to Live Specifies whether the Time to Live (TTL) of the table is enabled Enabled: Indicates that TTL is enabled on the table

Disabled: Indicates that TTL is disabled on the table

TTL Attribute Specifies the name of the TTL attribute used to store the expiration time for items in the table Available when the Time to Live option is set to Enabled
Table Class Specifies the table class to use for storage cost optimization

STANDARD: Indicates that the storage costs are optimized for generic data. This is the default storage optimization technique.

STANDARD_INFREQUENT_ACCESS: Indicates that the storage costs are optimized for rarely-accessed data.

Deletion Protection

Specifies whether the table is protected from accidental deletions

True: Indicates that the table cannot be deleted.

False: Indicates that the table can be deleted by authorized administrators, if allowed by IAM permissions policies

SSE Enabled Specifies whether the server-side encryption (SSE) is enabled

True: Indicates that the server-side encryption is enabled

False: Indicates that the server-side encryption is disabled

SSE Type Specifies the encryption type

Available when the SSE Enabled is set to True.

KMS: Indicates that the server-side encryption uses KMS (Key Management Service)

KMSMasterKeyID Specifies the KMS key that is used for KMS encryption Available when SSE Type is set to KMS
Stream Enabled Specifies whether the DynamoDB Streams is enabled for the table

True: Indicates that the DynamoDB Streams is enabled for the table

False: Indicates that the DynamoDB Streams is disabled for the table

Stream View Type Specifies the information type captured in the stream when the table is modified

Available when Stream Enabled is set to True.

KEYS_ONLY: Indicates that only the key attributes of a modified item is captured

NEW_IMAGE: Indicates that the entire item appearing after modification is captured in the stream

OLD_IMAGE: Indicates that the entire item as it appeared before the modification is captured in the stream

NEW_AND_OLD_IMAGES: Indicates that the new and old images of the item are captured in the stream

Options Tags Specifies a list of key-value pairs for labeling the table  
Global Table Global Table Specifies whether the table is replicated across the AWS regions  
Name Specifies the AWS region name for replicating tables Available when Global Table option is enabled
Region Specifies the AWS region for replicating tables  
Backup Table Point in time recovery Specifies whether the point-in-time recovery is enabled

Enabled: Indicates that the point-in-time recovery is enabled for the table

Disabled: Indicates that the point-in-time recovery is disabled for the table

Back Up Table Specifies back up table name for the table  
Comment Update Entity Definition to Match Specifies whether the entity definition should be updated to match comments