CfnDashboardPropsMixin

class aws_cdk.mixins_preview.aws_iotsitewise.mixins.CfnDashboardPropsMixin(props, *, strategy=None)

Bases: Mixin

The AWS IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025 .

If you would like to use the AWS IoT SiteWise Monitor feature, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see AWS IoT SiteWise Monitor availability change .

Creates a dashboard in an AWS IoT SiteWise Monitor project.

see:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dashboard.html

cloudformationResource:

AWS::IoTSiteWise::Dashboard

mixin:

true

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 import mixins
from aws_cdk.mixins_preview.aws_iotsitewise import mixins as iotsitewise_mixins

cfn_dashboard_props_mixin = iotsitewise_mixins.CfnDashboardPropsMixin(iotsitewise_mixins.CfnDashboardMixinProps(
    dashboard_definition="dashboardDefinition",
    dashboard_description="dashboardDescription",
    dashboard_name="dashboardName",
    project_id="projectId",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::IoTSiteWise::Dashboard.

Parameters:
  • props (Union[CfnDashboardMixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['dashboardDefinition', 'dashboardDescription', 'dashboardName', 'projectId', 'tags']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental