CfnDashboardProps Struct
Properties for defining a CfnDashboard.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotsitewise as iotsitewise } from 'aws-cdk-lib';
const cfnDashboardProps: iotsitewise.CfnDashboardProps = {
dashboardDefinition: 'dashboardDefinition',
dashboardDescription: 'dashboardDescription',
dashboardName: 'dashboardName',
// the properties below are optional
projectId: 'projectId',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
dashboardDefinitionstringdashboard_definitionstrdashboardDefinitionStringDashboardDefinitionstringDashboardDefinition*stringrequired#The dashboard definition specified in a JSON literal.
notes
- AWS IoT SiteWise Monitor (Classic) see Create dashboards ( AWS CLI )
- AWS IoT SiteWise Monitor (AI-aware) see Create dashboards ( AWS CLI )
in the AWS IoT SiteWise User Guide
dashboardDescriptionstringdashboard_descriptionstrdashboardDescriptionStringDashboardDescriptionstringDashboardDescription*stringrequired#A description for the dashboard.
dashboardNamestringdashboard_namestrdashboardNameStringDashboardNamestringDashboardName*stringrequired#A friendly name for the dashboard.
projectIdoptionalstringproject_idoptionalstrprojectIdoptionalStringProjectIdoptionalstringProjectIdoptional*string#The ID of the project in which to create the dashboard.