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

Class: Aws::AutoScaling::Types::EnabledMetric

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

Overview

Describes an enabled metric.

Instance Attribute Summary collapse

Instance Attribute Details

#granularityString

The granularity of the metric. The only valid value is 1Minute.

Returns:

  • (String)


2176
2177
2178
2179
2180
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 2176

class EnabledMetric < Struct.new(
  :metric,
  :granularity)
  include Aws::Structure
end

#metricString

One of the following metrics:

  • GroupMinSize

  • GroupMaxSize

  • GroupDesiredCapacity

  • GroupInServiceInstances

  • GroupPendingInstances

  • GroupStandbyInstances

  • GroupTerminatingInstances

  • GroupTotalInstances

Returns:

  • (String)


2176
2177
2178
2179
2180
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 2176

class EnabledMetric < Struct.new(
  :metric,
  :granularity)
  include Aws::Structure
end