CfnDashboardMixinProps

class aws_cdk.mixins_preview.aws_cloudwatch.mixins.CfnDashboardMixinProps(*, dashboard_body=None, dashboard_name=None)

Bases: object

Properties 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.mixins_preview.aws_cloudwatch import mixins as cloudwatch_mixins

cfn_dashboard_mixin_props = cloudwatch_mixins.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 .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-dashboard.html#cfn-cloudwatch-dashboard-dashboardbody

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-dashboard.html#cfn-cloudwatch-dashboard-dashboardname