Class: Aws::DynamoDB::Types::AutoScalingSettingsUpdate
- Inherits:
-
Struct
- Object
- Struct
- Aws::DynamoDB::Types::AutoScalingSettingsUpdate
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-dynamodb/types.rb
Overview
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
-
#auto_scaling_disabled ⇒ Boolean
Disabled autoscaling for this global table or global secondary index.
-
#auto_scaling_role_arn ⇒ String
Role ARN used for configuring autoscaling policy.
-
#maximum_units ⇒ Integer
The maximum capacity units that a global table or global secondary index should be scaled up to.
-
#minimum_units ⇒ Integer
The minimum capacity units that a global table or global secondary index should be scaled down to.
-
#scaling_policy_update ⇒ Types::AutoScalingPolicyUpdate
The scaling policy to apply for scaling target global table or global secondary index capacity units.
Instance Attribute Details
#auto_scaling_disabled ⇒ Boolean
Disabled autoscaling for this global table or global secondary index.
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_arn ⇒ String
Role ARN used for configuring autoscaling policy.
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_units ⇒ Integer
The maximum capacity units that a global table or global secondary index should be scaled up to.
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_units ⇒ Integer
The minimum capacity units that a global table or global secondary index should be scaled down to.
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_update ⇒ Types::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 |