AWS::CloudWatch::DashboardThe `AWS::CloudWatch::Dashboard` resource specifies an Amazon CloudWatch dashboard. A dashboard is a customizable home page in the CloudWatch console that you can use to monitor your AWS resources in a single view. All dashboards in your account are global, not region-specific.
import { CfnDashboard } from 'aws-cdk-lib/aws-cloudwatch';Or use the module namespace:
import * as cloudwatch from 'aws-cdk-lib/aws-cloudwatch';
// cloudwatch.CfnDashboardConfiguration passed to the constructor as CfnDashboardProps.
dashboardBodyRequiredstringThe detailed information about the dashboard in JSON format, including the widgets to include and their location on the dashboard. This parameter is required. For more information about the syntax, see [Dashboard Body Structure and Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html) .
dashboardNameOptionalstringThe name of the dashboard. The name must be between 1 and 255 characters. If you do not specify a name, one will be generated automatically.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon CloudWatch on one page. HD quality, print-friendly.
Download Free Infographicaws-cloudwatchAWS::CloudWatch::Dashboard