Class: Aws::OpsWorks::Types::SetLoadBasedAutoScalingRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::OpsWorks::Types::SetLoadBasedAutoScalingRequest
- Defined in:
- gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#down_scaling ⇒ Types::AutoScalingThresholds
An
AutoScalingThresholds
object with the downscaling threshold configuration. -
#enable ⇒ Boolean
Enables load-based auto scaling for the layer.
-
#layer_id ⇒ String
The layer ID.
-
#up_scaling ⇒ Types::AutoScalingThresholds
An
AutoScalingThresholds
object with the upscaling threshold configuration.
Instance Attribute Details
#down_scaling ⇒ Types::AutoScalingThresholds
An AutoScalingThresholds
object with the downscaling threshold
configuration. If the load falls below these thresholds for a
specified amount of time, AWS OpsWorks Stacks stops a specified
number of instances.
4652 4653 4654 4655 4656 4657 4658 4659 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4652 class SetLoadBasedAutoScalingRequest < Struct.new( :layer_id, :enable, :up_scaling, :down_scaling) SENSITIVE = [] include Aws::Structure end |
#enable ⇒ Boolean
Enables load-based auto scaling for the layer.
4652 4653 4654 4655 4656 4657 4658 4659 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4652 class SetLoadBasedAutoScalingRequest < Struct.new( :layer_id, :enable, :up_scaling, :down_scaling) SENSITIVE = [] include Aws::Structure end |
#layer_id ⇒ String
The layer ID.
4652 4653 4654 4655 4656 4657 4658 4659 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4652 class SetLoadBasedAutoScalingRequest < Struct.new( :layer_id, :enable, :up_scaling, :down_scaling) SENSITIVE = [] include Aws::Structure end |
#up_scaling ⇒ Types::AutoScalingThresholds
An AutoScalingThresholds
object with the upscaling threshold
configuration. If the load exceeds these thresholds for a specified
amount of time, AWS OpsWorks Stacks starts a specified number of
instances.
4652 4653 4654 4655 4656 4657 4658 4659 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4652 class SetLoadBasedAutoScalingRequest < Struct.new( :layer_id, :enable, :up_scaling, :down_scaling) SENSITIVE = [] include Aws::Structure end |