Interface CfnTopicRulePropsMixin.IotSiteWiseActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTopicRulePropsMixin.IotSiteWiseActionProperty.Jsii$Proxy
- Enclosing class:
CfnTopicRulePropsMixin
@Stability(Stable)
public static interface CfnTopicRulePropsMixin.IotSiteWiseActionProperty
extends software.amazon.jsii.JsiiSerializable
Describes an action to send data from an MQTT message that triggered the rule to AWS IoT SiteWise asset properties.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.iot.mixins.*;
IotSiteWiseActionProperty iotSiteWiseActionProperty = IotSiteWiseActionProperty.builder()
.putAssetPropertyValueEntries(List.of(PutAssetPropertyValueEntryProperty.builder()
.assetId("assetId")
.entryId("entryId")
.propertyAlias("propertyAlias")
.propertyId("propertyId")
.propertyValues(List.of(AssetPropertyValueProperty.builder()
.quality("quality")
.timestamp(AssetPropertyTimestampProperty.builder()
.offsetInNanos("offsetInNanos")
.timeInSeconds("timeInSeconds")
.build())
.value(AssetPropertyVariantProperty.builder()
.booleanValue("booleanValue")
.doubleValue("doubleValue")
.integerValue("integerValue")
.stringValue("stringValue")
.build())
.build()))
.build()))
.roleArn("roleArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTopicRulePropsMixin.IotSiteWiseActionPropertystatic final classAn implementation forCfnTopicRulePropsMixin.IotSiteWiseActionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPutAssetPropertyValueEntries
A list of asset property value entries.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTopicRulePropsMixin.PutAssetPropertyValueEntryProperty>- See Also:
-
getRoleArn
The ARN of the role that grants AWS IoT permission to send an asset property value to AWS IoT SiteWise.(
"Action": "iotsitewise:BatchPutAssetPropertyValue"). The trust policy can restrict access to specific asset hierarchy paths.- See Also:
-
builder
-