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

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

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

Overview

Note:

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

    The name of the Auto Scaling group.

#instance_idsArray<String>

One or more instances to move into Standby mode. You must specify at least one instance ID.

Returns:

  • (Array<String>)

    One or more instances to move into Standby mode.

#should_decrement_desired_capacityBoolean

Specifies whether the instances moved to Standby mode count as part of the Auto Scaling group\'s desired capacity. If set, the desired capacity for the Auto Scaling group decrements by the number of instances moved to Standby mode.

Returns:

  • (Boolean)

    Specifies whether the instances moved to Standby mode count as part of the Auto Scaling group\'s desired capacity.