Skip to content
v2.276.0

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

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.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
A list of key-value pairs that contain metadata for the dashboard.

For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide .