CfnDashboardMixinProps
- class aws_cdk.cfn_property_mixins.aws_cloudwatch.CfnDashboardMixinProps(*, dashboard_body=None, dashboard_name=None)
Bases:
objectProperties for CfnDashboardPropsMixin.
- Parameters:
dashboard_body (
Optional[str]) – The 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 .dashboard_name (
Optional[str]) – The 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.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-dashboard.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_cloudwatch as cloudwatch cfn_dashboard_mixin_props = cloudwatch.CfnDashboardMixinProps( dashboard_body="dashboardBody", dashboard_name="dashboardName" )
Attributes
- dashboard_body
The 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 .
- dashboard_name
The 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.