interface PutAssetPropertyValueEntryProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoT.CfnTopicRule.PutAssetPropertyValueEntryProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnTopicRule_PutAssetPropertyValueEntryProperty |
Java | software.amazon.awscdk.services.iot.CfnTopicRule.PutAssetPropertyValueEntryProperty |
Python | aws_cdk.aws_iot.CfnTopicRule.PutAssetPropertyValueEntryProperty |
TypeScript | aws-cdk-lib » aws_iot » CfnTopicRule » PutAssetPropertyValueEntryProperty |
An asset property value entry containing the following information.
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-lib';
const putAssetPropertyValueEntryProperty: iot.CfnTopicRule.PutAssetPropertyValueEntryProperty = {
propertyValues: [{
timestamp: {
timeInSeconds: 'timeInSeconds',
// the properties below are optional
offsetInNanos: 'offsetInNanos',
},
value: {
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',
};
Properties
Name | Type | Description |
---|---|---|
property | IResolvable | IResolvable | Asset [] | A list of property values to insert that each contain timestamp, quality, and value (TQV) information. |
asset | string | The ID of the AWS IoT SiteWise asset. |
entry | string | Optional. |
property | string | The name of the property alias associated with your asset property. |
property | string | The ID of the asset's property. |
propertyValues
Type:
IResolvable
|
IResolvable
|
Asset
[]
A list of property values to insert that each contain timestamp, quality, and value (TQV) information.
assetId?
Type:
string
(optional)
The ID of the AWS IoT SiteWise asset.
You must specify either a propertyAlias
or both an aliasId
and a propertyId
. Accepts substitution templates.
entryId?
Type:
string
(optional)
Optional.
A unique identifier for this entry that you can define to better track which message caused an error in case of failure. Accepts substitution templates. Defaults to a new UUID.
propertyAlias?
Type:
string
(optional)
The name of the property alias associated with your asset property.
You must specify either a propertyAlias
or both an aliasId
and a propertyId
. Accepts substitution templates.
propertyId?
Type:
string
(optional)
The ID of the asset's property.
You must specify either a propertyAlias
or both an aliasId
and a propertyId
. Accepts substitution templates.