Class: Aws::AutoScaling::Types::SetDesiredCapacityType
- Inherits:
-
Struct
- Object
- Struct
- Aws::AutoScaling::Types::SetDesiredCapacityType
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-autoscaling/types.rb
Overview
Note:
When making an API call, you may pass SetDesiredCapacityType data as a hash:
{
auto_scaling_group_name: "ResourceName", # required
desired_capacity: 1, # required
honor_cooldown: false,
}
Instance Attribute Summary collapse
-
#auto_scaling_group_name ⇒ String
The name of the Auto Scaling group.
-
#desired_capacity ⇒ Integer
The number of EC2 instances that should be running in the Auto Scaling group.
-
#honor_cooldown ⇒ Boolean
Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating a scaling activity to set your Auto Scaling group to its new capacity.
Instance Attribute Details
#auto_scaling_group_name ⇒ String
The name of the Auto Scaling group.
4218 4219 4220 4221 4222 4223 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 4218 class SetDesiredCapacityType < Struct.new( :auto_scaling_group_name, :desired_capacity, :honor_cooldown) include Aws::Structure end |
#desired_capacity ⇒ Integer
The number of EC2 instances that should be running in the Auto Scaling group.
4218 4219 4220 4221 4222 4223 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 4218 class SetDesiredCapacityType < Struct.new( :auto_scaling_group_name, :desired_capacity, :honor_cooldown) include Aws::Structure end |
#honor_cooldown ⇒ Boolean
Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating a scaling activity to set your Auto Scaling group to its new capacity. By default, Amazon EC2 Auto Scaling does not honor the cooldown period during manual scaling activities.
4218 4219 4220 4221 4222 4223 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 4218 class SetDesiredCapacityType < Struct.new( :auto_scaling_group_name, :desired_capacity, :honor_cooldown) include Aws::Structure end |