CmdID / aws / aws dynamodb
aws dynamodb update-table
Modifies the provisioned throughput settings, global secondary indexes, DynamoDB Streams settings, or global table replica settings for a given table. AWS CLI reference
17 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.--disassociation-protection-enabledSpecifies whether disassociation protection is enabled (true) or disabled (false) for the local replica of a multi-Region eventual consistency (MREC) global table using Version 2019.11.21.--global-secondary-index-updatesAn array of one or more global secondary indexes for the table.--global-table-settings-replication-modeControls the settings replication mode for a global table replica.--global-table-witness-updatesA list of witness updates for a MRSC global table.--multi-region-consistencySpecifies the consistency mode for a new global table.--on-demand-throughputUpdates the maximum number of read and write units for the specified table in on-demand capacity mode.--provisioned-throughputThe new provisioned throughput settings for the specified table or index.--replica-updatesA list of replica update actions (create, delete, update, or disassociate) for the table.--sse-specificationThe new server-side encryption settings for the specified table.--stream-specificationRepresents the DynamoDB Streams configuration for the table.--table-classThe table class of the table to be updated.--table-nameThe name of the table to be updated.--vector-index-updatesA list of vector indexes to be added to or removed from the table.--warm-throughputRepresents the warm throughput (in read units per second and write units per second) for updating a table.