AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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
}

A dimension is a name/value pair that is part of the identity of a metric. You can assign up to 10 dimensions to a metric. Because dimensions are part of the unique identifier for a metric, whenever you add a unique name/value pair to one of your metrics, you are creating a new variation of that metric.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the dimension. Dimension names must contain only ASCII characters and must include at least one non-whitespace character.

Returns:

  • (String)


959
960
961
962
963
964
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 959

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

#valueString

The value of the dimension. Dimension values must contain only ASCII characters and must include at least one non-whitespace character.

Returns:

  • (String)


959
960
961
962
963
964
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 959

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