interface ConditionBasedCollectionSchemeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoTFleetWise.Mixins.CfnCampaignPropsMixin.ConditionBasedCollectionSchemeProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiotfleetwise/mixins#CfnCampaignPropsMixin_ConditionBasedCollectionSchemeProperty |
Java | software.amazon.awscdk.mixins.preview.services.iotfleetwise.mixins.CfnCampaignPropsMixin.ConditionBasedCollectionSchemeProperty |
Python | aws_cdk.mixins_preview.aws_iotfleetwise.mixins.CfnCampaignPropsMixin.ConditionBasedCollectionSchemeProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iotfleetwise » mixins » CfnCampaignPropsMixin » 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 { mixins as iotfleetwise_mixins } from '@aws-cdk/mixins-preview/aws-iotfleetwise';
const conditionBasedCollectionSchemeProperty: iotfleetwise_mixins.CfnCampaignPropsMixin.ConditionBasedCollectionSchemeProperty = {
conditionLanguageVersion: 123,
expression: 'expression',
minimumTriggerIntervalMs: 123,
triggerMode: 'triggerMode',
};
Properties
| Name | Type | Description |
|---|---|---|
| condition | number | Specifies the version of the conditional expression language. |
| expression? | string | The logical expression used to recognize what data to collect. |
| 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 ). |
conditionLanguageVersion?
Type:
number
(optional)
Specifies the version of the conditional expression language.
expression?
Type:
string
(optional)
The logical expression used to recognize what data to collect.
For example, $variable.Vehicle.OutsideAirTemperature >= 105.0 .
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.

.NET
Go
Java
Python
TypeScript