CmdID

CmdID / aws / aws cloudwatch

aws cloudwatch list-dashboards

Returns a list of the dashboards for your account. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To retrieve a list of Dashboards

The following list-dashboards example lists all the Dashboards in the specified account.

aws cloudwatch list-dashboardsIdentify
Its output
{
    "DashboardEntries": [
        {
            "DashboardName": "Dashboard-A",
            "DashboardArn": "arn:aws:cloudwatch::123456789012:dashboard/Dashboard-A",
            "LastModified": "2024-10-11T18:40:11+00:00",
            "Size": 271
        },
        {
            "DashboardName": "Dashboard-B",
            "DashboardArn": "arn:aws:cloudwatch::123456789012:dashboard/Dashboard-B",
            "LastModified": "2024-10-11T18:44:41+00:00",
            "Size": 522
        }
    ]
}

For more information, see Amazon CloudWatch dashboards in the Amazon CloudWatch User Guide.

Options

2 in the AWS CLI reference
--dashboard-name-prefixIf you specify this parameter, only the dashboards with names starting with the specified string are listed.
--next-tokenThe token returned by a previous call to indicate that there is more data available.