AWS::IoTEvents::DetectorModel AssetPropertyValue
A structure that contains value information. For more information, see AssetPropertyValue in the AWS IoT SiteWise API Reference.
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 references, you must specify either variables or input values. For example, the value for the
quality
parameter can be$input.TemperatureInput.sensorData.quality
.
For more information, see Expressions in the AWS IoT Events Developer Guide.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Quality" :
String
, "Timestamp" :AssetPropertyTimestamp
, "Value" :AssetPropertyVariant
}
YAML
Quality:
String
Timestamp:AssetPropertyTimestamp
Value:AssetPropertyVariant
Properties
Quality
-
The quality of the asset property value. The value must be
'GOOD'
,'BAD'
, or'UNCERTAIN'
.Required: No
Type: String
Update requires: No interruption
Timestamp
-
The timestamp associated with the asset property value. The default is the current event time.
Required: No
Type: AssetPropertyTimestamp
Update requires: No interruption
Value
-
The value to send to an asset property.
Required: Yes
Type: AssetPropertyVariant
Update requires: No interruption