AWS CloudWatch · Schema

Dimension

A dimension is a name/value pair that is part of the identity of a metric.

AlarmsAwsDashboardsLogsMetricsMonitoringObservability

Properties

Name Type Description
Name string The name of the dimension. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
Value string The value of the dimension. Dimension values must contain only ASCII characters and must include at least one non-whitespace character.
View JSON Schema on GitHub

JSON Schema

cloudwatch-dimension-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Dimension",
  "type": "object",
  "description": "A dimension is a name/value pair that is part of the identity of a metric.",
  "properties": {
    "Name": {
      "type": "string",
      "description": "The name of the dimension. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:)."
    },
    "Value": {
      "type": "string",
      "description": "The value of the dimension. Dimension values must contain only ASCII characters and must include at least one non-whitespace character."
    }
  }
}