AWS::IoTFleetWise::Campaign ConditionBasedCollectionScheme
Information about a collection scheme that uses a simple logical expression to recognize what data to collect.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "ConditionLanguageVersion" :
Integer
, "Expression" :String
, "MinimumTriggerIntervalMs" :Number
, "TriggerMode" :String
}
YAML
ConditionLanguageVersion:
Integer
Expression:String
MinimumTriggerIntervalMs:Number
TriggerMode:String
Properties
ConditionLanguageVersion
-
(Optional) Specifies the version of the conditional expression language.
Required: No
Type: Integer
Minimum:
1
Update requires: Replacement
Expression
-
The logical expression used to recognize what data to collect. For example,
$variable.Vehicle.OutsideAirTemperature >= 105.0
.Required: Yes
Type: String
Minimum:
1
Maximum:
2048
Update requires: Replacement
MinimumTriggerIntervalMs
-
(Optional) The minimum duration of time between two triggering events to collect data, in milliseconds.
Note
If a signal changes often, you might want to collect data at a slower rate.
Required: No
Type: Number
Minimum:
0
Maximum:
4294967295
Update requires: Replacement
TriggerMode
-
(Optional) Whether to collect data for all triggering events (
ALWAYS
). Specify (RISING_EDGE
), or specify only when the condition first evaluates to false. For example, triggering on "AirbagDeployed"; Users aren't interested on triggering when the airbag is already exploded; they only care about the change from not deployed => deployed.Required: No
Type: String
Allowed values:
ALWAYS | RISING_EDGE
Update requires: Replacement