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: "XmlStringMaxLen255", # required
  metrics: ["XmlStringMaxLen255"],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_group_nameString

The name of the Auto Scaling group.

Returns:

  • (String)


3068
3069
3070
3071
3072
3073
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3068

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

#metricsArray<String>

Identifies the metrics to disable.

You can specify one or more of the following metrics:

  • GroupMinSize

  • GroupMaxSize

  • GroupDesiredCapacity

  • GroupInServiceInstances

  • GroupPendingInstances

  • GroupStandbyInstances

  • GroupTerminatingInstances

  • GroupTotalInstances

  • GroupInServiceCapacity

  • GroupPendingCapacity

  • GroupStandbyCapacity

  • GroupTerminatingCapacity

  • GroupTotalCapacity

  • WarmPoolDesiredCapacity

  • WarmPoolWarmedCapacity

  • WarmPoolPendingCapacity

  • WarmPoolTerminatingCapacity

  • WarmPoolTotalCapacity

  • GroupAndWarmPoolDesiredCapacity

  • GroupAndWarmPoolTotalCapacity

If you omit this property, all metrics are disabled.

For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.

Returns:

  • (Array<String>)


3068
3069
3070
3071
3072
3073
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3068

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