Class: Aws::DynamoDB::Types::ReplicaAutoScalingUpdate

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 ReplicaAutoScalingUpdate data as a hash:

{
  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
      },
    },
  },
}

Represents the auto scaling settings of a replica that will be modified.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#region_nameString

The Region where the replica exists.

Returns:

  • (String)


6975
6976
6977
6978
6979
6980
6981
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 6975

class ReplicaAutoScalingUpdate < Struct.new(
  :region_name,
  :replica_global_secondary_index_updates,
  :replica_provisioned_read_capacity_auto_scaling_update)
  SENSITIVE = []
  include Aws::Structure
end

#replica_global_secondary_index_updatesArray<Types::ReplicaGlobalSecondaryIndexAutoScalingUpdate>

Represents the auto scaling settings of global secondary indexes that will be modified.



6975
6976
6977
6978
6979
6980
6981
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 6975

class ReplicaAutoScalingUpdate < Struct.new(
  :region_name,
  :replica_global_secondary_index_updates,
  :replica_provisioned_read_capacity_auto_scaling_update)
  SENSITIVE = []
  include Aws::Structure
end

#replica_provisioned_read_capacity_auto_scaling_updateTypes::AutoScalingSettingsUpdate

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



6975
6976
6977
6978
6979
6980
6981
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 6975

class ReplicaAutoScalingUpdate < Struct.new(
  :region_name,
  :replica_global_secondary_index_updates,
  :replica_provisioned_read_capacity_auto_scaling_update)
  SENSITIVE = []
  include Aws::Structure
end