Note:

You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . dynamodb ]

describe-global-table-settings

Description

Describes Region-specific settings for a global table.

Warning

This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy).

To determine which version you're using, see Determining the global table version you are using . To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables .

See also: AWS API Documentation

Synopsis

  describe-global-table-settings
--global-table-name <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]

Options

--global-table-name (string)

The name of the global table to describe.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

Global Options

--debug (boolean)

Turn on debug logging.

--endpoint-url (string)

Override command's default URL with the given URL.

--no-verify-ssl (boolean)

By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.

--no-paginate (boolean)

Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.

--output (string)

The formatting style for command output.

  • json
  • text
  • table

--query (string)

A JMESPath query to use in filtering the response data.

--profile (string)

Use a specific profile from your credential file.

--region (string)

The region to use. Overrides config/env settings.

--version (string)

Display the version of this tool.

--color (string)

Turn on/off color output.

  • on
  • off
  • auto

--no-sign-request (boolean)

Do not sign requests. Credentials will not be loaded if this argument is provided.

--ca-bundle (string)

The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.

--cli-read-timeout (int)

The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.

--cli-connect-timeout (int)

The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.

Examples

Note

To use the following examples, you must have the AWS CLI installed and configured. See the Getting started guide in the AWS CLI User Guide for more information.

Unless otherwise stated, all examples have unix-like quotation rules. These examples will need to be adapted to your terminal's quoting rules. See Using quotation marks with strings in the AWS CLI User Guide .

To get information about a DynamoDB global table's settings

The following describe-global-table-settings example displays the settings for the MusicCollection global table.

aws dynamodb describe-global-table-settings \
    --global-table-name MusicCollection

Output:

{
    "GlobalTableName": "MusicCollection",
    "ReplicaSettings": [
        {
            "RegionName": "us-east-1",
            "ReplicaStatus": "ACTIVE",
            "ReplicaProvisionedReadCapacityUnits": 10,
            "ReplicaProvisionedReadCapacityAutoScalingSettings": {
                "AutoScalingDisabled": true
            },
            "ReplicaProvisionedWriteCapacityUnits": 5,
            "ReplicaProvisionedWriteCapacityAutoScalingSettings": {
                "AutoScalingDisabled": true
            }
        },
        {
            "RegionName": "us-east-2",
            "ReplicaStatus": "ACTIVE",
            "ReplicaProvisionedReadCapacityUnits": 10,
            "ReplicaProvisionedReadCapacityAutoScalingSettings": {
                "AutoScalingDisabled": true
            },
            "ReplicaProvisionedWriteCapacityUnits": 5,
            "ReplicaProvisionedWriteCapacityAutoScalingSettings": {
                "AutoScalingDisabled": true
            }
        }
    ]
}

For more information, see DynamoDB Global Tables in the Amazon DynamoDB Developer Guide.

Output

GlobalTableName -> (string)

The name of the global table.

ReplicaSettings -> (list)

The Region-specific settings for the global table.

(structure)

Represents the properties of a replica.

RegionName -> (string)

The Region name of the replica.

ReplicaStatus -> (string)

The current state of the Region:

  • CREATING - The Region is being created.
  • UPDATING - The Region is being updated.
  • DELETING - The Region is being deleted.
  • ACTIVE - The Region is ready for use.

ReplicaBillingModeSummary -> (structure)

The read/write capacity mode of the replica.

BillingMode -> (string)

Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.

  • PROVISIONED - Sets the read/write capacity mode to PROVISIONED . We recommend using PROVISIONED for predictable workloads.
  • PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST . We recommend using PAY_PER_REQUEST for unpredictable workloads.

LastUpdateToPayPerRequestDateTime -> (timestamp)

Represents the time when PAY_PER_REQUEST was last set as the read/write capacity mode.

ReplicaProvisionedReadCapacityUnits -> (long)

The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException . For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide .

ReplicaProvisionedReadCapacityAutoScalingSettings -> (structure)

Auto scaling settings for a global table replica's read capacity units.

MinimumUnits -> (long)

The minimum capacity units that a global table or global secondary index should be scaled down to.

MaximumUnits -> (long)

The maximum capacity units that a global table or global secondary index should be scaled up to.

AutoScalingDisabled -> (boolean)

Disabled auto scaling for this global table or global secondary index.

AutoScalingRoleArn -> (string)

Role ARN used for configuring the auto scaling policy.

ScalingPolicies -> (list)

Information about the scaling policies.

(structure)

Represents the properties of the scaling policy.

PolicyName -> (string)

The name of the scaling policy.

TargetTrackingScalingPolicyConfiguration -> (structure)

Represents a target tracking scaling policy configuration.

DisableScaleIn -> (boolean)

Indicates whether scale in by the target tracking policy is disabled. If the value is true, scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. The default value is false.

ScaleInCooldown -> (integer)

The amount of time, in seconds, after a scale in activity completes before another scale in activity can start. The cooldown period is used to block subsequent scale in requests until it has expired. You should scale in conservatively to protect your application's availability. However, if another alarm triggers a scale out policy during the cooldown period after a scale-in, application auto scaling scales out your scalable target immediately.

ScaleOutCooldown -> (integer)

The amount of time, in seconds, after a scale out activity completes before another scale out activity can start. While the cooldown period is in effect, the capacity that has been added by the previous scale out event that initiated the cooldown is calculated as part of the desired capacity for the next scale out. You should continuously (but not excessively) scale out.

TargetValue -> (double)

The target value for the metric. The range is 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2).

ReplicaProvisionedWriteCapacityUnits -> (long)

The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException . For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide .

ReplicaProvisionedWriteCapacityAutoScalingSettings -> (structure)

Auto scaling settings for a global table replica's write capacity units.

MinimumUnits -> (long)

The minimum capacity units that a global table or global secondary index should be scaled down to.

MaximumUnits -> (long)

The maximum capacity units that a global table or global secondary index should be scaled up to.

AutoScalingDisabled -> (boolean)

Disabled auto scaling for this global table or global secondary index.

AutoScalingRoleArn -> (string)

Role ARN used for configuring the auto scaling policy.

ScalingPolicies -> (list)

Information about the scaling policies.

(structure)

Represents the properties of the scaling policy.

PolicyName -> (string)

The name of the scaling policy.

TargetTrackingScalingPolicyConfiguration -> (structure)

Represents a target tracking scaling policy configuration.

DisableScaleIn -> (boolean)

Indicates whether scale in by the target tracking policy is disabled. If the value is true, scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. The default value is false.

ScaleInCooldown -> (integer)

The amount of time, in seconds, after a scale in activity completes before another scale in activity can start. The cooldown period is used to block subsequent scale in requests until it has expired. You should scale in conservatively to protect your application's availability. However, if another alarm triggers a scale out policy during the cooldown period after a scale-in, application auto scaling scales out your scalable target immediately.

ScaleOutCooldown -> (integer)

The amount of time, in seconds, after a scale out activity completes before another scale out activity can start. While the cooldown period is in effect, the capacity that has been added by the previous scale out event that initiated the cooldown is calculated as part of the desired capacity for the next scale out. You should continuously (but not excessively) scale out.

TargetValue -> (double)

The target value for the metric. The range is 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2).

ReplicaGlobalSecondaryIndexSettings -> (list)

Replica global secondary index settings for the global table.

(structure)

Represents the properties of a global secondary index.

IndexName -> (string)

The name of the global secondary index. The name must be unique among all other indexes on this table.

IndexStatus -> (string)

The current status of the global secondary index:

  • CREATING - The global secondary index is being created.
  • UPDATING - The global secondary index is being updated.
  • DELETING - The global secondary index is being deleted.
  • ACTIVE - The global secondary index is ready for use.

ProvisionedReadCapacityUnits -> (long)

The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException .

ProvisionedReadCapacityAutoScalingSettings -> (structure)

Auto scaling settings for a global secondary index replica's read capacity units.

MinimumUnits -> (long)

The minimum capacity units that a global table or global secondary index should be scaled down to.

MaximumUnits -> (long)

The maximum capacity units that a global table or global secondary index should be scaled up to.

AutoScalingDisabled -> (boolean)

Disabled auto scaling for this global table or global secondary index.

AutoScalingRoleArn -> (string)

Role ARN used for configuring the auto scaling policy.

ScalingPolicies -> (list)

Information about the scaling policies.

(structure)

Represents the properties of the scaling policy.

PolicyName -> (string)

The name of the scaling policy.

TargetTrackingScalingPolicyConfiguration -> (structure)

Represents a target tracking scaling policy configuration.

DisableScaleIn -> (boolean)

Indicates whether scale in by the target tracking policy is disabled. If the value is true, scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. The default value is false.

ScaleInCooldown -> (integer)

The amount of time, in seconds, after a scale in activity completes before another scale in activity can start. The cooldown period is used to block subsequent scale in requests until it has expired. You should scale in conservatively to protect your application's availability. However, if another alarm triggers a scale out policy during the cooldown period after a scale-in, application auto scaling scales out your scalable target immediately.

ScaleOutCooldown -> (integer)

The amount of time, in seconds, after a scale out activity completes before another scale out activity can start. While the cooldown period is in effect, the capacity that has been added by the previous scale out event that initiated the cooldown is calculated as part of the desired capacity for the next scale out. You should continuously (but not excessively) scale out.

TargetValue -> (double)

The target value for the metric. The range is 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2).

ProvisionedWriteCapacityUnits -> (long)

The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException .

ProvisionedWriteCapacityAutoScalingSettings -> (structure)

Auto scaling settings for a global secondary index replica's write capacity units.

MinimumUnits -> (long)

The minimum capacity units that a global table or global secondary index should be scaled down to.

MaximumUnits -> (long)

The maximum capacity units that a global table or global secondary index should be scaled up to.

AutoScalingDisabled -> (boolean)

Disabled auto scaling for this global table or global secondary index.

AutoScalingRoleArn -> (string)

Role ARN used for configuring the auto scaling policy.

ScalingPolicies -> (list)

Information about the scaling policies.

(structure)

Represents the properties of the scaling policy.

PolicyName -> (string)

The name of the scaling policy.

TargetTrackingScalingPolicyConfiguration -> (structure)

Represents a target tracking scaling policy configuration.

DisableScaleIn -> (boolean)

Indicates whether scale in by the target tracking policy is disabled. If the value is true, scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. The default value is false.

ScaleInCooldown -> (integer)

The amount of time, in seconds, after a scale in activity completes before another scale in activity can start. The cooldown period is used to block subsequent scale in requests until it has expired. You should scale in conservatively to protect your application's availability. However, if another alarm triggers a scale out policy during the cooldown period after a scale-in, application auto scaling scales out your scalable target immediately.

ScaleOutCooldown -> (integer)

The amount of time, in seconds, after a scale out activity completes before another scale out activity can start. While the cooldown period is in effect, the capacity that has been added by the previous scale out event that initiated the cooldown is calculated as part of the desired capacity for the next scale out. You should continuously (but not excessively) scale out.

TargetValue -> (double)

The target value for the metric. The range is 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2).

ReplicaTableClassSummary -> (structure)

Contains details of the table class.

TableClass -> (string)

The table class of the specified table. Valid values are STANDARD and STANDARD_INFREQUENT_ACCESS .

LastUpdateDateTime -> (timestamp)

The date and time at which the table class was last updated.