You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing TerminateInstanceInAutoScalingGroupType as input to an Aws::Client method, you can use a vanilla 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)

    The ID of the instance.

#should_decrement_desired_capacityBoolean

If true, terminating the instance also decrements the size of the Auto Scaling group.

Returns:

  • (Boolean)

    If true, terminating the instance also decrements the size of the Auto Scaling group.