You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudWatch::Types::Dimension
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatch::Types::Dimension
- Defined in:
- (unknown)
Overview
Note:
When passing Dimension as input to an Aws::Client method, you can use a vanilla 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.
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the dimension.
-
#value ⇒ String
The value of the dimension.
Instance Attribute Details
#name ⇒ String
The name of the dimension. Dimension names cannot contain blank spaces or non-ASCII characters.
#value ⇒ String
The value of the dimension. Dimension values cannot contain blank spaces or non-ASCII characters.