AWS CloudWatch · Schema

PutMetricDataInput

AlarmsAwsDashboardsLogsMetricsMonitoringObservability

Properties

Name Type Description
Namespace string The namespace for the metric data. To avoid conflicts with AWS service namespaces, you should not specify a namespace that begins with AWS/.
MetricData array The data for the metric. The array can include no more than 1000 metrics per call.
View JSON Schema on GitHub

JSON Schema

cloudwatch-putmetricdatainput-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PutMetricDataInput",
  "title": "PutMetricDataInput",
  "type": "object",
  "required": [
    "Namespace",
    "MetricData"
  ],
  "properties": {
    "Namespace": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255,
      "pattern": "[^:].*",
      "description": "The namespace for the metric data. To avoid conflicts with AWS service namespaces, you should not specify a namespace that begins with AWS/.",
      "example": "example_value"
    },
    "MetricData": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/MetricDatum"
      },
      "description": "The data for the metric. The array can include no more than 1000 metrics per call.",
      "example": []
    }
  }
}