interface ConditionBasedCollectionSchemeProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoTFleetWise.CfnCampaign.ConditionBasedCollectionSchemeProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiotfleetwise#CfnCampaign_ConditionBasedCollectionSchemeProperty |
![]() | software.amazon.awscdk.services.iotfleetwise.CfnCampaign.ConditionBasedCollectionSchemeProperty |
![]() | aws_cdk.aws_iotfleetwise.CfnCampaign.ConditionBasedCollectionSchemeProperty |
![]() | 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
Name | Type | Description |
---|---|---|
expression | string | The logical expression used to recognize what data to collect. |
condition | number | Specifies the version of the conditional expression language. |
minimum | number | The minimum duration of time between two triggering events to collect data, in milliseconds. |
trigger | string | 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)
Specifies the version of the conditional expression language.
minimumTriggerIntervalMs?
Type:
number
(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)
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.