Class: Aws::DynamoDB::Types::UpdateTableReplicaAutoScalingInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb

Overview

Note:

When making an API call, you may pass UpdateTableReplicaAutoScalingInput data as a hash:

{
  global_secondary_index_updates: [
    {
      index_name: "IndexName",
      provisioned_write_capacity_auto_scaling_update: {
        minimum_units: 1,
        maximum_units: 1,
        auto_scaling_disabled: false,
        auto_scaling_role_arn: "AutoScalingRoleArn",
        scaling_policy_update: {
          policy_name: "AutoScalingPolicyName",
          target_tracking_scaling_policy_configuration: { # required
            disable_scale_in: false,
            scale_in_cooldown: 1,
            scale_out_cooldown: 1,
            target_value: 1.0, # required
          },
        },
      },
    },
  ],
  table_name: "TableName", # required
  provisioned_write_capacity_auto_scaling_update: {
    minimum_units: 1,
    maximum_units: 1,
    auto_scaling_disabled: false,
    auto_scaling_role_arn: "AutoScalingRoleArn",
    scaling_policy_update: {
      policy_name: "AutoScalingPolicyName",
      target_tracking_scaling_policy_configuration: { # required
        disable_scale_in: false,
        scale_in_cooldown: 1,
        scale_out_cooldown: 1,
        target_value: 1.0, # required
      },
    },
  },
  replica_updates: [
    {
      region_name: "RegionName", # required
      replica_global_secondary_index_updates: [
        {
          index_name: "IndexName",
          provisioned_read_capacity_auto_scaling_update: {
            minimum_units: 1,
            maximum_units: 1,
            auto_scaling_disabled: false,
            auto_scaling_role_arn: "AutoScalingRoleArn",
            scaling_policy_update: {
              policy_name: "AutoScalingPolicyName",
              target_tracking_scaling_policy_configuration: { # required
                disable_scale_in: false,
                scale_in_cooldown: 1,
                scale_out_cooldown: 1,
                target_value: 1.0, # required
              },
            },
          },
        },
      ],
      replica_provisioned_read_capacity_auto_scaling_update: {
        minimum_units: 1,
        maximum_units: 1,
        auto_scaling_disabled: false,
        auto_scaling_role_arn: "AutoScalingRoleArn",
        scaling_policy_update: {
          policy_name: "AutoScalingPolicyName",
          target_tracking_scaling_policy_configuration: { # required
            disable_scale_in: false,
            scale_in_cooldown: 1,
            scale_out_cooldown: 1,
            target_value: 1.0, # required
          },
        },
      },
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#global_secondary_index_updatesArray<Types::GlobalSecondaryIndexAutoScalingUpdate>

Represents the auto scaling settings of the global secondary indexes of the replica to be updated.



10892
10893
10894
10895
10896
10897
10898
10899
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 10892

class UpdateTableReplicaAutoScalingInput < Struct.new(
  :global_secondary_index_updates,
  :table_name,
  :provisioned_write_capacity_auto_scaling_update,
  :replica_updates)
  SENSITIVE = []
  include Aws::Structure
end

#provisioned_write_capacity_auto_scaling_updateTypes::AutoScalingSettingsUpdate

Represents the auto scaling settings to be modified for a global table or global secondary index.



10892
10893
10894
10895
10896
10897
10898
10899
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 10892

class UpdateTableReplicaAutoScalingInput < Struct.new(
  :global_secondary_index_updates,
  :table_name,
  :provisioned_write_capacity_auto_scaling_update,
  :replica_updates)
  SENSITIVE = []
  include Aws::Structure
end

#replica_updatesArray<Types::ReplicaAutoScalingUpdate>

Represents the auto scaling settings of replicas of the table that will be modified.



10892
10893
10894
10895
10896
10897
10898
10899
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 10892

class UpdateTableReplicaAutoScalingInput < Struct.new(
  :global_secondary_index_updates,
  :table_name,
  :provisioned_write_capacity_auto_scaling_update,
  :replica_updates)
  SENSITIVE = []
  include Aws::Structure
end

#table_nameString

The name of the global table to be updated.

Returns:

  • (String)


10892
10893
10894
10895
10896
10897
10898
10899
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 10892

class UpdateTableReplicaAutoScalingInput < Struct.new(
  :global_secondary_index_updates,
  :table_name,
  :provisioned_write_capacity_auto_scaling_update,
  :replica_updates)
  SENSITIVE = []
  include Aws::Structure
end