CreateTableRequest
Represents the input of a CreateTable
operation.
Types
Properties
An array of attributes that describe the key schema for the table and indexes.
Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.
Indicates whether deletion protection is to be enabled (true) or disabled (false) on the table.
One or more global secondary indexes (the maximum is 20) to be created on the table. Each global secondary index in the array includes the following:
Specifies the attributes that make up the primary key for a table or an index. The attributes in KeySchema
must also be defined in the AttributeDefinitions
array. For more information, see Data Model in the Amazon DynamoDB Developer Guide.
One or more local secondary indexes (the maximum is 5) to be created on the table. Each index is scoped to a given partition key value. There is a 10 GB size limit per partition key value; otherwise, the size of a local secondary index is unconstrained.
Sets the maximum number of read and write units for the specified table in on-demand capacity mode. If you use this parameter, you must specify MaxReadRequestUnits
, MaxWriteRequestUnits
, or both.
Represents the provisioned throughput settings for a specified table or index. The settings can be modified using the UpdateTable
operation.
An Amazon Web Services resource-based policy document in JSON format that will be attached to the table.
Represents the settings used to enable server-side encryption.
The settings for DynamoDB Streams on the table. These settings consist of:
The table class of the new table. Valid values are STANDARD
and STANDARD_INFREQUENT_ACCESS
.
A list of key-value pairs to label the table. For more information, see Tagging for DynamoDB.
Represents the warm throughput (in read units per second and write units per second) for creating a table.