CmdID / aws / aws dynamodb
aws dynamodb update-global-table-settings
Updates settings for a global table. AWS CLI reference
1 example 6 options Its page in the AWS CLI reference
Examples
To update provisioned write capacity settings on a DynamoDB global table
The following update-global-table-settings example sets the provisioned write capacity of the MusicCollection global table to 15.
aws dynamodb update-global-table-settings --global-table-name MusicCollection --global-table-provisioned-write-capacity-units 15Identify--global-table-nameThe name of the global table--global-table-provisioned-write-capacity-unitsThe maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.Its output, shortened
{
"GlobalTableName": "MusicCollection",
"ReplicaSettings": [
{
"RegionName": "eu-west-1",
"ReplicaStatus": "UPDATING",
"ReplicaProvisionedReadCapacityUnits": 10,
"ReplicaProvisionedReadCapacityAutoScalingSettings": {
"AutoScalingDisabled": true
},
"ReplicaProvisionedWriteCapacityUnits": 10,
"ReplicaProvisionedWriteCapacityAutoScalingSettings": {
"AutoScalingDisabled": true
}
},
{
"RegionName": "us-east-1",
"ReplicaStatus": "UPDATING",
"ReplicaProvisionedReadCapacityUnits": 10,
"ReplicaProvisionedReadCapacityAutoScalingSettings": {
"AutoScalingDisabled": true
},
"ReplicaProvisionedWriteCapacityUnits": 10,
"ReplicaProvisionedWriteCapacityAutoScalingSettings": {
"AutoScalingDisabled": true
}
},
{
"RegionName": "us-east-2",
"ReplicaStatus": "UPDATING",
… 11 more linesFor more information, see DynamoDB Global Tables in the Amazon DynamoDB Developer Guide.
Options
--global-table-billing-modeThe billing mode of the global table.--global-table-global-secondary-index-settings-updateRepresents the settings of a global secondary index for a global table that will be modified.--global-table-nameThe name of the global table--global-table-provisioned-write-capacity-auto-scaling-settings-updateAuto scaling settings for managing provisioned write capacity for the global table.--global-table-provisioned-write-capacity-unitsThe maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.--replica-settings-updateRepresents the settings for a global table in a Region that will be modified.