ListDashboards
Source:
src/AWS/CloudWatch/ListDashboards.ts
Runtime binding for cloudwatch:ListDashboards — list the dashboards in
the account, optionally filtered by name prefix.
Provide CloudWatch.ListDashboardsHttp on the hosting Lambda Function
to satisfy the requirement.
Reading Dashboards
Section titled “Reading Dashboards”// init — grants cloudwatch:ListDashboardsconst listDashboards = yield* AWS.CloudWatch.ListDashboards();
// runtimeconst result = yield* listDashboards();const names = (result.DashboardEntries ?? []).map((e) => e.DashboardName);