AWS CloudWatch · Schema

MetricDataQuery

This structure is used in both GetMetricData and PutMetricAlarm. The supported use of this structure is different for those two operations.

AlarmsAwsDashboardsLogsMetricsMonitoringObservability

Properties

Name Type Description
Id string A short name used to tie this object to the results in the response.
Expression string This field can contain a Metrics Insights query, or a metric math expression.
Label string A human-readable label for this metric or expression.
ReturnData boolean When used in GetMetricData, this option indicates whether to return the timestamps and raw data values of this metric.
Period integer The granularity, in seconds, of the returned data points.
AccountId string The ID of the account where the metrics are located.
View JSON Schema on GitHub