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

Class: Aws::CloudWatch::Types::Dimension

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

Overview

Note:

When making an API call, you may pass Dimension data as a hash:

{
  name: "DimensionName", # required
  value: "DimensionValue", # required
}

Expands the identity of a metric.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the dimension.

Returns:

  • (String)


409
410
411
412
413
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 409

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

#valueString

The value representing the dimension measurement.

Returns:

  • (String)


409
410
411
412
413
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 409

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