Class: Aws::AutoScaling::Types::TerminateInstanceInAutoScalingGroupType
- Inherits:
-
Struct
- Object
- Struct
- Aws::AutoScaling::Types::TerminateInstanceInAutoScalingGroupType
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-autoscaling/types.rb
Overview
Note:
When making an API call, you may pass TerminateInstanceInAutoScalingGroupType data as a hash:
{
instance_id: "XmlStringMaxLen19", # required
should_decrement_desired_capacity: false, # required
}
Instance Attribute Summary collapse
-
#instance_id ⇒ String
The ID of the instance.
-
#should_decrement_desired_capacity ⇒ Boolean
Indicates whether terminating the instance also decrements the size of the Auto Scaling group.
Instance Attribute Details
#instance_id ⇒ String
The ID of the instance.
4566 4567 4568 4569 4570 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 4566 class TerminateInstanceInAutoScalingGroupType < Struct.new( :instance_id, :should_decrement_desired_capacity) include Aws::Structure end |
#should_decrement_desired_capacity ⇒ Boolean
Indicates whether terminating the instance also decrements the size of the Auto Scaling group.
4566 4567 4568 4569 4570 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 4566 class TerminateInstanceInAutoScalingGroupType < Struct.new( :instance_id, :should_decrement_desired_capacity) include Aws::Structure end |