Class: Aws::AutoScaling::Types::TerminateInstanceInAutoScalingGroupType

Inherits:
Struct
  • Object
show all
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 Attribute Details

#instance_idString

The ID of the instance.

Returns:

  • (String)


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_capacityBoolean

Indicates whether terminating the instance also decrements the size of the Auto Scaling group.

Returns:

  • (Boolean)


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