interface ConditionBasedCollectionSchemeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.IoTFleetWise.CfnCampaign.ConditionBasedCollectionSchemeProperty |
Java | software.amazon.awscdk.services.iotfleetwise.CfnCampaign.ConditionBasedCollectionSchemeProperty |
Python | aws_cdk.aws_iotfleetwise.CfnCampaign.ConditionBasedCollectionSchemeProperty |
TypeScript | @aws-cdk/aws-iotfleetwise » CfnCampaign » ConditionBasedCollectionSchemeProperty |
Information about a collection scheme that uses a simple logical expression to recognize what data to collect.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iotfleetwise from '@aws-cdk/aws-iotfleetwise';
const conditionBasedCollectionSchemeProperty: iotfleetwise.CfnCampaign.ConditionBasedCollectionSchemeProperty = {
expression: 'expression',
// the properties below are optional
conditionLanguageVersion: 123,
minimumTriggerIntervalMs: 123,
triggerMode: 'triggerMode',
};
Properties
| Name | Type | Description |
|---|---|---|
| expression | string | The logical expression used to recognize what data to collect. |
| condition | number | (Optional) Specifies the version of the conditional expression language. |
| minimum | number | (Optional) The minimum duration of time between two triggering events to collect data, in milliseconds. |
| trigger | string | (Optional) Whether to collect data for all triggering events ( ALWAYS ). |
expression
Type:
string
The logical expression used to recognize what data to collect.
For example, $variable.Vehicle.OutsideAirTemperature >= 105.0 .
conditionLanguageVersion?
Type:
number
(optional)
(Optional) Specifies the version of the conditional expression language.
minimumTriggerIntervalMs?
Type:
number
(optional)
(Optional) The minimum duration of time between two triggering events to collect data, in milliseconds.
If a signal changes often, you might want to collect data at a slower rate.
triggerMode?
Type:
string
(optional)
(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.

.NET
Java
Python
TypeScript