CmdID / aws / aws dynamodb
aws dynamodb create-table
The CreateTable operation adds a new table to your account. AWS CLI reference
18 options Its page in the AWS CLI reference
Options
--attribute-definitionsAn array of attributes that describe the key schema for the table and indexes.--billing-modeControls how you are charged for read and write throughput and how you manage capacity.--deletion-protection-enabledIndicates whether deletion protection is to be enabled (true) or disabled (false) on the table.--global-secondary-indexesOne or more global secondary indexes (the maximum is 20) to be created on the table.--global-table-settings-replication-modeControls the settings synchronization mode for the global table.--global-table-source-arnThe Amazon Resource Name (ARN) of the source table used for the creation of a multi-account global table.--key-schemaSpecifies the attributes that make up the primary key for a table or an index.--local-secondary-indexesOne or more local secondary indexes (the maximum is 5) to be created on the table.--on-demand-throughputSets the maximum number of read and write units for the specified table in on-demand capacity mode.--provisioned-throughputRepresents the provisioned throughput settings for a specified table or index.--resource-policyAn Amazon Web Services resource-based policy document in JSON format that will be attached to the table.--sse-specificationRepresents the settings used to enable server-side encryption.--stream-specificationThe settings for DynamoDB Streams on the table.--table-classThe table class of the new table.--table-nameThe name of the table to create.--tagsA list of key-value pairs to label the table.--vector-indexesOne or more vector indexes to be created on the table.--warm-throughputRepresents the warm throughput (in read units per second and write units per second) for creating a table.