interface IotSiteWiseActionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.IoT.CfnTopicRulePropsMixin.IotSiteWiseActionProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsiot#CfnTopicRulePropsMixin_IotSiteWiseActionProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.iot.CfnTopicRulePropsMixin.IotSiteWiseActionProperty |
Python | aws_cdk.cfn_property_mixins.aws_iot.CfnTopicRulePropsMixin.IotSiteWiseActionProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_iot » 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 { aws_iot as iot } from '@aws-cdk/cfn-property-mixins';
const iotSiteWiseActionProperty: iot.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