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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-autoscaling/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
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#instance_idString

The ID of the instance.

Returns:

  • (String)


5841
5842
5843
5844
5845
5846
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 5841

class TerminateInstanceInAutoScalingGroupType < Struct.new(
  :instance_id,
  :should_decrement_desired_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#should_decrement_desired_capacityBoolean

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

Returns:

  • (Boolean)


5841
5842
5843
5844
5845
5846
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 5841

class TerminateInstanceInAutoScalingGroupType < Struct.new(
  :instance_id,
  :should_decrement_desired_capacity)
  SENSITIVE = []
  include Aws::Structure
end