Interface CfnTopicRule.IIotSiteWiseActionProperty
Describes an action to send data from an MQTT message that triggered the rule to AWS IoT SiteWise asset properties.
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IIotSiteWiseActionProperty
Syntax (vb)
Public Interface IIotSiteWiseActionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;
var iotSiteWiseActionProperty = new IotSiteWiseActionProperty {
PutAssetPropertyValueEntries = new [] { new PutAssetPropertyValueEntryProperty {
PropertyValues = new [] { new AssetPropertyValueProperty {
Timestamp = new AssetPropertyTimestampProperty {
TimeInSeconds = "timeInSeconds",
// the properties below are optional
OffsetInNanos = "offsetInNanos"
},
Value = new AssetPropertyVariantProperty {
BooleanValue = "booleanValue",
DoubleValue = "doubleValue",
IntegerValue = "integerValue",
StringValue = "stringValue"
},
// the properties below are optional
Quality = "quality"
} },
// the properties below are optional
AssetId = "assetId",
EntryId = "entryId",
PropertyAlias = "propertyAlias",
PropertyId = "propertyId"
} },
RoleArn = "roleArn"
};
Synopsis
Properties
PutAssetPropertyValueEntries | A list of asset property value entries. |
RoleArn | The ARN of the role that grants AWS IoT permission to send an asset property value to AWS IoT SiteWise. |
Properties
PutAssetPropertyValueEntries
A list of asset property value entries.
object PutAssetPropertyValueEntries { get; }
Property Value
System.Object
Remarks
RoleArn
The ARN of the role that grants AWS IoT permission to send an asset property value to AWS IoT SiteWise.
string RoleArn { get; }
Property Value
System.String
Remarks
( "Action": "iotsitewise:BatchPutAssetPropertyValue"
). The trust policy can restrict access to specific asset hierarchy paths.