Class: Aws::AutoScaling::Types::EnableMetricsCollectionQuery

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_group_nameString

The name of the Auto Scaling group.

Returns:

  • (String)


2782
2783
2784
2785
2786
2787
2788
# File 'lib/aws-sdk-autoscaling/types.rb', line 2782

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

#granularityString

The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch. The only valid value is ‘1Minute`.

Returns:

  • (String)


2782
2783
2784
2785
2786
2787
2788
# File 'lib/aws-sdk-autoscaling/types.rb', line 2782

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

#metricsArray<String>

Identifies the metrics to enable.

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 specify ‘Granularity` and don’t specify any metrics, all metrics are enabled.

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

[1]: docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-cloudwatch-monitoring.html#as-group-metrics

Returns:

  • (Array<String>)


2782
2783
2784
2785
2786
2787
2788
# File 'lib/aws-sdk-autoscaling/types.rb', line 2782

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