You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::AutoScaling::Types::DetachInstancesQuery
- Inherits:
-
Struct
- Object
- Struct
- Aws::AutoScaling::Types::DetachInstancesQuery
- Defined in:
- (unknown)
Overview
Note:
When passing DetachInstancesQuery as input to an Aws::Client method, you can use a vanilla 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.
#instance_ids ⇒ Array<String>
The IDs of the instances. You can specify up to 20 instances.
#should_decrement_desired_capacity ⇒ Boolean
Indicates whether the Auto Scaling group decrements the desired capacity value by the number of instances detached.