Class CfnAlarmModelPropsMixin.AssetPropertyValueProperty
A structure that contains value information. For more information, see AssetPropertyValue in the AWS IoT SiteWise API Reference .
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.IoTEvents
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnAlarmModelPropsMixin.AssetPropertyValueProperty : CfnAlarmModelPropsMixin.IAssetPropertyValueProperty
Syntax (vb)
Public Class CfnAlarmModelPropsMixin.AssetPropertyValueProperty Implements CfnAlarmModelPropsMixin.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.CfnPropertyMixins.AWS.IoTEvents;
var assetPropertyValueProperty = new AssetPropertyValueProperty {
Quality = "quality",
Timestamp = new AssetPropertyTimestampProperty {
OffsetInNanos = "offsetInNanos",
TimeInSeconds = "timeInSeconds"
},
Value = new AssetPropertyVariantProperty {
BooleanValue = "booleanValue",
DoubleValue = "doubleValue",
IntegerValue = "integerValue",
StringValue = "stringValue"
}
};
Synopsis
Constructors
| AssetPropertyValueProperty() | A structure that contains value information. For more information, see AssetPropertyValue in the AWS IoT SiteWise API Reference . |
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()
A structure that contains value information. For more information, see AssetPropertyValue in the AWS IoT SiteWise API Reference .
public AssetPropertyValueProperty()
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.CfnPropertyMixins.AWS.IoTEvents;
var assetPropertyValueProperty = new AssetPropertyValueProperty {
Quality = "quality",
Timestamp = new AssetPropertyTimestampProperty {
OffsetInNanos = "offsetInNanos",
TimeInSeconds = "timeInSeconds"
},
Value = new AssetPropertyVariantProperty {
BooleanValue = "booleanValue",
DoubleValue = "doubleValue",
IntegerValue = "integerValue",
StringValue = "stringValue"
}
};
Properties
Quality
The quality of the asset property value.
public string? Quality { get; set; }
Property Value
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
Remarks
The default is the current event time.
Type union: either IResolvable or CfnAlarmModelPropsMixin.IAssetPropertyTimestampProperty
Value
The value to send to an asset property.
public object? Value { get; set; }