Class: Aws::AutoScaling::Types::DetachInstancesQuery
- Inherits:
-
Struct
- Object
- Struct
- Aws::AutoScaling::Types::DetachInstancesQuery
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-autoscaling/types.rb
Overview
Note:
When making an API call, you may pass DetachInstancesQuery data as a hash:
{
instance_ids: ["XmlStringMaxLen19"],
auto_scaling_group_name: "ResourceName", # required
should_decrement_desired_capacity: false, # required
}
Instance Attribute Summary collapse
-
#auto_scaling_group_name ⇒ String
The name of the Auto Scaling group.
-
#instance_ids ⇒ Array<String>
The IDs of the instances.
-
#should_decrement_desired_capacity ⇒ Boolean
Indicates whether the Auto Scaling group decrements the desired capacity value by the number of instances detached.
Instance Attribute Details
#auto_scaling_group_name ⇒ String
The name of the Auto Scaling group.
2008 2009 2010 2011 2012 2013 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 2008 class DetachInstancesQuery < Struct.new( :instance_ids, :auto_scaling_group_name, :should_decrement_desired_capacity) include Aws::Structure end |
#instance_ids ⇒ Array<String>
The IDs of the instances. You can specify up to 20 instances.
2008 2009 2010 2011 2012 2013 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 2008 class DetachInstancesQuery < Struct.new( :instance_ids, :auto_scaling_group_name, :should_decrement_desired_capacity) include Aws::Structure end |
#should_decrement_desired_capacity ⇒ Boolean
Indicates whether the Auto Scaling group decrements the desired capacity value by the number of instances detached.
2008 2009 2010 2011 2012 2013 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 2008 class DetachInstancesQuery < Struct.new( :instance_ids, :auto_scaling_group_name, :should_decrement_desired_capacity) include Aws::Structure end |