AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::AutoScaling::Types::DisableMetricsCollectionQuery

  • Object
show all
Defined in:



When passing DisableMetricsCollectionQuery as input to an Aws::Client method, you can use a vanilla Hash:

  auto_scaling_group_name: "ResourceName", # required
  metrics: ["XmlStringMaxLen255"],

Instance Attribute Summary collapse

Instance Attribute Details


The name of the Auto Scaling group.


  • (String)

    The name of the Auto Scaling group.


Specifies one or more of the following metrics:

  • GroupMinSize

  • GroupMaxSize

  • GroupDesiredCapacity

  • GroupInServiceInstances

  • GroupPendingInstances

  • GroupStandbyInstances

  • GroupTerminatingInstances

  • GroupTotalInstances

  • GroupInServiceCapacity

  • GroupPendingCapacity

  • GroupStandbyCapacity

  • GroupTerminatingCapacity

  • GroupTotalCapacity

If you omit this parameter, all metrics are disabled.


  • (Array<String>)

    Specifies one or more of the following metrics:.