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 cannot contain blank spaces or non-ASCII characters.

Returns:

  • (String)


933
934
935
936
937
938
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 933

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

#valueString

The value of the dimension.

Returns:

  • (String)


933
934
935
936
937
938
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 933

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