CmdID / aws / aws cloudwatch
aws cloudwatch get-dashboard
Displays the details of the dashboard that you specify. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To retrieve information about a Dashboard
The following get-dashboard example displays information about the dashboard named Dashboard-A in the specified account.
aws cloudwatch get-dashboard --dashboard-name Dashboard-AIdentify--dashboard-nameThe name of the dashboard to be described.Its output
{
"DashboardArn": "arn:aws:cloudwatch::123456789012:dashboard/Dashboard-A",
"DashboardBody": "{\"widgets\":[{\"type\":\"metric\",\"x\":0,\"y\":0,\"width\":6,\"height\":6,\"properties\":{\"view\":\"timeSeries\",\"stacked\":false,\"metrics\":[[\"AWS/EC2\",\"NetworkIn\",\"InstanceId\",\"i-0131f062232ade043\"],[\".\",\"NetworkOut\",\".\",\".\"]],\"region\":\"us-west-2\"}}]}",
"DashboardName": "Dashboard-A"
}For more information, see Amazon CloudWatch dashboards in the Amazon CloudWatch User Guide.
Options
--dashboard-nameThe name of the dashboard to be described.