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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb

Overview

Note:

When making an API call, you may pass DisableMetricsCollectionQuery data as a hash:

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

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_group_nameString

The name of the Auto Scaling group.

Returns:

  • (String)


2340
2341
2342
2343
2344
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 2340

class DisableMetricsCollectionQuery < Struct.new(
  :auto_scaling_group_name,
  :metrics)
  include Aws::Structure
end

#metricsArray<String>

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.

Returns:

  • (Array<String>)


2340
2341
2342
2343
2344
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 2340

class DisableMetricsCollectionQuery < Struct.new(
  :auto_scaling_group_name,
  :metrics)
  include Aws::Structure
end