One widget in the dashboard grid, before layout. metrics uses the dashboard-body array form verbatim — [Namespace, MetricName, ...dimension pairs, { options }] — because that is the form the CloudWatch console's "view source" produces, so a widget prototyped there pastes straight in. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Dashboard-Body-Structure.html
metrics
[Namespace, MetricName, ...dimension pairs, { options }]
Optional
Widget-level properties merged over the defaults (stat, period, yAxis…).
stat
period
yAxis
One widget in the dashboard grid, before layout.
metricsuses the dashboard-body array form verbatim —[Namespace, MetricName, ...dimension pairs, { options }]— because that is the form the CloudWatch console's "view source" produces, so a widget prototyped there pastes straight in. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Dashboard-Body-Structure.html