ConditionBasedCollectionSchemeProperty Struct
Information about a collection scheme that uses a simple logical expression to recognize what data to collect.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iotfleetwise as iotfleetwise
condition_based_collection_scheme_property = iotfleetwise.CfnCampaign.ConditionBasedCollectionSchemeProperty(
expression="expression",
# the properties below are optional
condition_language_version=123,
minimum_trigger_interval_ms=123,
trigger_mode="triggerMode"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotfleetwise.*;
ConditionBasedCollectionSchemeProperty conditionBasedCollectionSchemeProperty = ConditionBasedCollectionSchemeProperty.builder()
.expression("expression")
// the properties below are optional
.conditionLanguageVersion(123)
.minimumTriggerIntervalMs(123)
.triggerMode("triggerMode")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTFleetWise;
var conditionBasedCollectionSchemeProperty = new ConditionBasedCollectionSchemeProperty {
Expression = "expression",
// the properties below are optional
ConditionLanguageVersion = 123,
MinimumTriggerIntervalMs = 123,
TriggerMode = "triggerMode"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
conditionBasedCollectionSchemeProperty := &ConditionBasedCollectionSchemeProperty{
Expression: jsii.String("expression"),
// the properties below are optional
ConditionLanguageVersion: jsii.Number(123),
MinimumTriggerIntervalMs: jsii.Number(123),
TriggerMode: jsii.String("triggerMode"),
}
Properties
conditionLanguageVersionoptionalnumbercondition_language_versionoptionalint | floatconditionLanguageVersionoptionalNumberConditionLanguageVersionoptionaldoubleConditionLanguageVersionoptional*float64 #Specifies the version of the conditional expression language.
The logical expression used to recognize what data to collect.
For example, $variable.Vehicle.OutsideAirTemperature >= 105.0 .
minimumTriggerIntervalMsoptionalnumberminimum_trigger_interval_msoptionalint | floatminimumTriggerIntervalMsoptionalNumberMinimumTriggerIntervalMsoptionaldoubleMinimumTriggerIntervalMsoptional*float64 #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.
triggerModeoptionalstringtrigger_modeoptionalstrtriggerModeoptionalStringTriggerModeoptionalstringTriggerModeoptional*string #Whether to collect data for all triggering events ( `ALWAYS` ).
notes
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.