interface IotSiteWiseActionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoT.Mixins.CfnTopicRulePropsMixin.IotSiteWiseActionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiot/mixins#CfnTopicRulePropsMixin_IotSiteWiseActionProperty |
Java | software.amazon.awscdk.mixins.preview.services.iot.mixins.CfnTopicRulePropsMixin.IotSiteWiseActionProperty |
Python | aws_cdk.mixins_preview.aws_iot.mixins.CfnTopicRulePropsMixin.IotSiteWiseActionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iot » mixins » CfnTopicRulePropsMixin » IotSiteWiseActionProperty |
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 { mixins as iot_mixins } from '@aws-cdk/mixins-preview/aws-iot';
const iotSiteWiseActionProperty: iot_mixins.CfnTopicRulePropsMixin.IotSiteWiseActionProperty = {
putAssetPropertyValueEntries: [{
assetId: 'assetId',
entryId: 'entryId',
propertyAlias: 'propertyAlias',
propertyId: 'propertyId',
propertyValues: [{
quality: 'quality',
timestamp: {
offsetInNanos: 'offsetInNanos',
timeInSeconds: 'timeInSeconds',
},
value: {
booleanValue: 'booleanValue',
doubleValue: 'doubleValue',
integerValue: 'integerValue',
stringValue: 'stringValue',
},
}],
}],
roleArn: 'roleArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| put | IResolvable | (IResolvable | Put)[] | A list of asset property value entries. |
| role | string | The ARN of the role that grants AWS IoT permission to send an asset property value to AWS IoT SiteWise. |
putAssetPropertyValueEntries?
Type:
IResolvable | (IResolvable | Put)[]
(optional)
A list of asset property value entries.
roleArn?
Type:
string
(optional)
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.

.NET
Go
Java
Python
TypeScript