@Stability(value=Stable)
public static interface CfnTopicRule.IotSiteWiseActionProperty
extends software.amazon.jsii.JsiiSerializable
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.iot.*;
IotSiteWiseActionProperty iotSiteWiseActionProperty = IotSiteWiseActionProperty.builder()
.putAssetPropertyValueEntries(List.of(PutAssetPropertyValueEntryProperty.builder()
.propertyValues(List.of(AssetPropertyValueProperty.builder()
.timestamp(AssetPropertyTimestampProperty.builder()
.timeInSeconds("timeInSeconds")
// the properties below are optional
.offsetInNanos("offsetInNanos")
.build())
.value(AssetPropertyVariantProperty.builder()
.booleanValue("booleanValue")
.doubleValue("doubleValue")
.integerValue("integerValue")
.stringValue("stringValue")
.build())
// the properties below are optional
.quality("quality")
.build()))
// the properties below are optional
.assetId("assetId")
.entryId("entryId")
.propertyAlias("propertyAlias")
.propertyId("propertyId")
.build()))
.roleArn("roleArn")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTopicRule.IotSiteWiseActionProperty.Builder
A builder for
CfnTopicRule.IotSiteWiseActionProperty |
static class |
CfnTopicRule.IotSiteWiseActionProperty.Jsii$Proxy
An implementation for
CfnTopicRule.IotSiteWiseActionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnTopicRule.IotSiteWiseActionProperty.Builder |
builder() |
Object |
getPutAssetPropertyValueEntries()
A list of asset property value entries.
|
String |
getRoleArn()
The ARN of the role that grants AWS IoT permission to send an asset property value to AWS IoT SiteWise.
|
@Stability(value=Stable) @NotNull Object getPutAssetPropertyValueEntries()
@Stability(value=Stable) @NotNull String getRoleArn()
( "Action": "iotsitewise:BatchPutAssetPropertyValue" ). The trust policy can restrict access to specific asset hierarchy paths.
@Stability(value=Stable) static CfnTopicRule.IotSiteWiseActionProperty.Builder builder()
Copyright © 2022. All rights reserved.