aws-cdk-lib.aws_iot.CfnTopicRule.PutAssetPropertyValueEntryProperty

interface PutAssetPropertyValueEntryProperty

LanguageType name
.NETAmazon.CDK.AWS.IoT.CfnTopicRule.PutAssetPropertyValueEntryProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnTopicRule_PutAssetPropertyValueEntryProperty
Javasoftware.amazon.awscdk.services.iot.CfnTopicRule.PutAssetPropertyValueEntryProperty
Pythonaws_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

NameTypeDescription
propertyValuesIResolvable | IResolvable | AssetPropertyValueProperty[]A list of property values to insert that each contain timestamp, quality, and value (TQV) information.
assetId?stringThe ID of the AWS IoT SiteWise asset.
entryId?stringOptional.
propertyAlias?stringThe name of the property alias associated with your asset property.
propertyId?stringThe ID of the asset's property.

propertyValues

Type: IResolvable | IResolvable | AssetPropertyValueProperty[]

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.