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

Class: Aws::AutoScaling::Types::MetricDimension

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 MetricDimension data as a hash:

{
  name: "MetricDimensionName", # required
  value: "MetricDimensionValue", # required
}

Describes the dimension of a metric.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the dimension.

Returns:

  • (String)


2842
2843
2844
2845
2846
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 2842

class MetricDimension < Struct.new(
  :name,
  :value)
  include Aws::Structure
end

#valueString

The value of the dimension.

Returns:

  • (String)


2842
2843
2844
2845
2846
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 2842

class MetricDimension < Struct.new(
  :name,
  :value)
  include Aws::Structure
end