@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.045Z") @Stability(value=Stable) public class CfnDashboard extends CfnResource implements IInspectable
Creates a dashboard in an AWS IoT SiteWise Monitor project.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotsitewise.*;
CfnDashboard cfnDashboard = CfnDashboard.Builder.create(this, "MyCfnDashboard")
.dashboardDefinition("dashboardDefinition")
.dashboardDescription("dashboardDescription")
.dashboardName("dashboardName")
// the properties below are optional
.projectId("projectId")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnDashboard.Builder
A fluent builder for
CfnDashboard. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnDashboard(software.constructs.Construct scope,
String id,
CfnDashboardProps props)
Create a new `AWS::IoTSiteWise::Dashboard`.
|
protected |
CfnDashboard(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnDashboard(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrDashboardArn()
The [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) of the dashboard, which has the following format.
|
String |
getAttrDashboardId()
The ID of the dashboard.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDashboardDefinition()
The dashboard definition specified in a JSON literal.
|
String |
getDashboardDescription()
A description for the dashboard.
|
String |
getDashboardName()
A friendly name for the dashboard.
|
String |
getProjectId()
The ID of the project in which to create the dashboard.
|
TagManager |
getTags()
A list of key-value pairs that contain metadata for the dashboard.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDashboardDefinition(String value)
The dashboard definition specified in a JSON literal.
|
void |
setDashboardDescription(String value)
A description for the dashboard.
|
void |
setDashboardName(String value)
A friendly name for the dashboard.
|
void |
setProjectId(String value)
The ID of the project in which to create the dashboard.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnDashboard(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnDashboard(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnDashboard(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnDashboardProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrDashboardArn()
arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId}
@Stability(value=Stable) @NotNull public String getAttrDashboardId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide .
@Stability(value=Stable) @NotNull public String getDashboardDefinition()
For detailed information, see Creating dashboards (CLI) in the AWS IoT SiteWise User Guide .
@Stability(value=Stable)
public void setDashboardDefinition(@NotNull
String value)
For detailed information, see Creating dashboards (CLI) in the AWS IoT SiteWise User Guide .
@Stability(value=Stable) @NotNull public String getDashboardDescription()
@Stability(value=Stable)
public void setDashboardDescription(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getDashboardName()
@Stability(value=Stable)
public void setDashboardName(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getProjectId()
@Stability(value=Stable)
public void setProjectId(@Nullable
String value)
Copyright © 2022. All rights reserved.