AWS::IoTFleetWise::Campaign ConditionBasedCollectionScheme - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

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 Amazon CloudFormation template, use the following syntax:

JSON

{ "ConditionLanguageVersion" : Integer, "Expression" : String, "MinimumTriggerIntervalMs" : Double, "TriggerMode" : String }

Properties

ConditionLanguageVersion

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

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: Double

Update requires: Replacement

TriggerMode

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