aws-cdk-lib.aws_iotfleetwise.CfnCampaign.ConditionBasedCollectionSchemeProperty

interface ConditionBasedCollectionSchemeProperty

LanguageType name
.NETAmazon.CDK.AWS.IoTFleetWise.CfnCampaign.ConditionBasedCollectionSchemeProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiotfleetwise#CfnCampaign_ConditionBasedCollectionSchemeProperty
Javasoftware.amazon.awscdk.services.iotfleetwise.CfnCampaign.ConditionBasedCollectionSchemeProperty
Pythonaws_cdk.aws_iotfleetwise.CfnCampaign.ConditionBasedCollectionSchemeProperty
TypeScript aws-cdk-lib » 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 { aws_iotfleetwise as iotfleetwise } from 'aws-cdk-lib';
const conditionBasedCollectionSchemeProperty: iotfleetwise.CfnCampaign.ConditionBasedCollectionSchemeProperty = {
  expression: 'expression',

  // the properties below are optional
  conditionLanguageVersion: 123,
  minimumTriggerIntervalMs: 123,
  triggerMode: 'triggerMode',
};

Properties

NameTypeDescription
expressionstringThe logical expression used to recognize what data to collect.
conditionLanguageVersion?number(Optional) Specifies the version of the conditional expression language.
minimumTriggerIntervalMs?number(Optional) The minimum duration of time between two triggering events to collect data, in milliseconds.
triggerMode?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.