Class: Aws::DynamoDB::Types::AutoScalingSettingsUpdate

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

Overview

Note:

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

{
  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 autoscaling settings to be modified for a global table or global secondary index.

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_disabledBoolean

Disabled autoscaling for this global table or global secondary index.

Returns:

  • (Boolean)


416
417
418
419
420
421
422
423
# File 'lib/aws-sdk-dynamodb/types.rb', line 416

class AutoScalingSettingsUpdate < Struct.new(
  :minimum_units,
  :maximum_units,
  :auto_scaling_disabled,
  :auto_scaling_role_arn,
  :scaling_policy_update)
  include Aws::Structure
end

#auto_scaling_role_arnString

Role ARN used for configuring autoscaling policy.

Returns:

  • (String)


416
417
418
419
420
421
422
423
# File 'lib/aws-sdk-dynamodb/types.rb', line 416

class AutoScalingSettingsUpdate < Struct.new(
  :minimum_units,
  :maximum_units,
  :auto_scaling_disabled,
  :auto_scaling_role_arn,
  :scaling_policy_update)
  include Aws::Structure
end

#maximum_unitsInteger

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

Returns:

  • (Integer)


416
417
418
419
420
421
422
423
# File 'lib/aws-sdk-dynamodb/types.rb', line 416

class AutoScalingSettingsUpdate < Struct.new(
  :minimum_units,
  :maximum_units,
  :auto_scaling_disabled,
  :auto_scaling_role_arn,
  :scaling_policy_update)
  include Aws::Structure
end

#minimum_unitsInteger

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

Returns:

  • (Integer)


416
417
418
419
420
421
422
423
# File 'lib/aws-sdk-dynamodb/types.rb', line 416

class AutoScalingSettingsUpdate < Struct.new(
  :minimum_units,
  :maximum_units,
  :auto_scaling_disabled,
  :auto_scaling_role_arn,
  :scaling_policy_update)
  include Aws::Structure
end

#scaling_policy_updateTypes::AutoScalingPolicyUpdate

The scaling policy to apply for scaling target global table or global secondary index capacity units.



416
417
418
419
420
421
422
423
# File 'lib/aws-sdk-dynamodb/types.rb', line 416

class AutoScalingSettingsUpdate < Struct.new(
  :minimum_units,
  :maximum_units,
  :auto_scaling_disabled,
  :auto_scaling_role_arn,
  :scaling_policy_update)
  include Aws::Structure
end