Class CfnTopicRule.PutAssetPropertyValueEntryProperty
An asset property value entry containing the following information.
Inheritance
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class PutAssetPropertyValueEntryProperty : Object, CfnTopicRule.IPutAssetPropertyValueEntryProperty
Syntax (vb)
Public Class PutAssetPropertyValueEntryProperty
Inherits Object
Implements CfnTopicRule.IPutAssetPropertyValueEntryProperty
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 putAssetPropertyValueEntryProperty = 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"
};
Synopsis
Constructors
PutAssetPropertyValueEntryProperty() |
Properties
AssetId | The ID of the AWS IoT SiteWise asset. |
EntryId | Optional. |
PropertyAlias | The name of the property alias associated with your asset property. |
PropertyId | The ID of the asset's property. |
PropertyValues | A list of property values to insert that each contain timestamp, quality, and value (TQV) information. |
Constructors
PutAssetPropertyValueEntryProperty()
public PutAssetPropertyValueEntryProperty()
Properties
AssetId
The ID of the AWS IoT SiteWise asset.
public string AssetId { get; set; }
Property Value
System.String
Remarks
You must specify either a propertyAlias
or both an aliasId
and a propertyId
. Accepts substitution templates.
EntryId
Optional.
public string EntryId { get; set; }
Property Value
System.String
Remarks
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
The name of the property alias associated with your asset property.
public string PropertyAlias { get; set; }
Property Value
System.String
Remarks
You must specify either a propertyAlias
or both an aliasId
and a propertyId
. Accepts substitution templates.
PropertyId
The ID of the asset's property.
public string PropertyId { get; set; }
Property Value
System.String
Remarks
You must specify either a propertyAlias
or both an aliasId
and a propertyId
. Accepts substitution templates.
PropertyValues
A list of property values to insert that each contain timestamp, quality, and value (TQV) information.
public object PropertyValues { get; set; }
Property Value
System.Object