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

Class: Aws::ApplicationAutoScaling::Types::MetricDimension

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/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)


929
930
931
932
933
# File 'gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/types.rb', line 929

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

#valueString

The value of the dimension.

Returns:

  • (String)


929
930
931
932
933
# File 'gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/types.rb', line 929

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