Class CfnDetectorModel.AssetPropertyValueProperty
A structure that contains value information. For more information, see AssetPropertyValue in the AWS IoT SiteWise API Reference .
Inheritance
Implements
Namespace: Amazon.CDK.AWS.IoTEvents
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AssetPropertyValueProperty : Object, CfnDetectorModel.IAssetPropertyValueProperty
Syntax (vb)
Public Class AssetPropertyValueProperty
Inherits Object
Implements CfnDetectorModel.IAssetPropertyValueProperty
Remarks
You must use expressions for all parameters in AssetPropertyValue
. The expressions accept literals, operators, functions, references, and substitution templates.
Examples - For literal values, the expressions must contain single quotes. For example, the value for the quality
parameter can be 'GOOD'
.
For more information, see Expressions in the AWS IoT Events Developer Guide .
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.IoTEvents;
var assetPropertyValueProperty = new AssetPropertyValueProperty {
Value = new AssetPropertyVariantProperty {
BooleanValue = "booleanValue",
DoubleValue = "doubleValue",
IntegerValue = "integerValue",
StringValue = "stringValue"
},
// the properties below are optional
Quality = "quality",
Timestamp = new AssetPropertyTimestampProperty {
TimeInSeconds = "timeInSeconds",
// the properties below are optional
OffsetInNanos = "offsetInNanos"
}
};
Synopsis
Constructors
AssetPropertyValueProperty() |
Properties
Quality | The quality of the asset property value. |
Timestamp | The timestamp associated with the asset property value. |
Value | The value to send to an asset property. |
Constructors
AssetPropertyValueProperty()
public AssetPropertyValueProperty()
Properties
Quality
The quality of the asset property value.
public string Quality { get; set; }
Property Value
System.String
Remarks
The value must be 'GOOD'
, 'BAD'
, or 'UNCERTAIN'
.
Timestamp
The timestamp associated with the asset property value.
public object Timestamp { get; set; }
Property Value
System.Object
Remarks
Value
The value to send to an asset property.
public object Value { get; set; }
Property Value
System.Object