Class: Aws::AutoScaling::Types::DetachInstancesQuery

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 DetachInstancesQuery data as a hash:

{
  instance_ids: ["XmlStringMaxLen19"],
  auto_scaling_group_name: "ResourceName", # required
  should_decrement_desired_capacity: false, # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_group_nameString

The name of the Auto Scaling group.

Returns:

  • (String)


2008
2009
2010
2011
2012
2013
# File 'lib/aws-sdk-autoscaling/types.rb', line 2008

class DetachInstancesQuery < Struct.new(
  :instance_ids,
  :auto_scaling_group_name,
  :should_decrement_desired_capacity)
  include Aws::Structure
end

#instance_idsArray<String>

The IDs of the instances. You can specify up to 20 instances.

Returns:

  • (Array<String>)


2008
2009
2010
2011
2012
2013
# File 'lib/aws-sdk-autoscaling/types.rb', line 2008

class DetachInstancesQuery < Struct.new(
  :instance_ids,
  :auto_scaling_group_name,
  :should_decrement_desired_capacity)
  include Aws::Structure
end

#should_decrement_desired_capacityBoolean

Indicates whether the Auto Scaling group decrements the desired capacity value by the number of instances detached.

Returns:

  • (Boolean)


2008
2009
2010
2011
2012
2013
# File 'lib/aws-sdk-autoscaling/types.rb', line 2008

class DetachInstancesQuery < Struct.new(
  :instance_ids,
  :auto_scaling_group_name,
  :should_decrement_desired_capacity)
  include Aws::Structure
end