Class: Aws::AutoScaling::Types::EnterStandbyQuery

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 EnterStandbyQuery 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)


2309
2310
2311
2312
2313
2314
# File 'lib/aws-sdk-autoscaling/types.rb', line 2309

class EnterStandbyQuery < 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>)


2309
2310
2311
2312
2313
2314
# File 'lib/aws-sdk-autoscaling/types.rb', line 2309

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

#should_decrement_desired_capacityBoolean

Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances moved to ‘Standby` mode.

Returns:

  • (Boolean)


2309
2310
2311
2312
2313
2314
# File 'lib/aws-sdk-autoscaling/types.rb', line 2309

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