Class CfnCampaign.ConditionBasedCollectionSchemeProperty
Information about a collection scheme that uses a simple logical expression to recognize what data to collect.
Inheritance
Namespace: Amazon.CDK.AWS.IoTFleetWise
Assembly: Amazon.CDK.AWS.IoTFleetWise.dll
Syntax (csharp)
public class ConditionBasedCollectionSchemeProperty : Object, CfnCampaign.IConditionBasedCollectionSchemeProperty
Syntax (vb)
Public Class ConditionBasedCollectionSchemeProperty
Inherits Object
Implements CfnCampaign.IConditionBasedCollectionSchemeProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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"
};
Synopsis
Constructors
ConditionBasedCollectionSchemeProperty() |
Properties
ConditionLanguageVersion | (Optional) Specifies the version of the conditional expression language. |
Expression | The logical expression used to recognize what data to collect. |
MinimumTriggerIntervalMs | (Optional) The minimum duration of time between two triggering events to collect data, in milliseconds. |
TriggerMode | (Optional) Whether to collect data for all triggering events ( |
Constructors
ConditionBasedCollectionSchemeProperty()
public ConditionBasedCollectionSchemeProperty()
Properties
ConditionLanguageVersion
(Optional) Specifies the version of the conditional expression language.
public Nullable<double> ConditionLanguageVersion { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Expression
The logical expression used to recognize what data to collect.
public string Expression { get; set; }
Property Value
System.String
Remarks
For example, $variable.Vehicle.OutsideAirTemperature >= 105.0
.
MinimumTriggerIntervalMs
(Optional) The minimum duration of time between two triggering events to collect data, in milliseconds.
public Nullable<double> MinimumTriggerIntervalMs { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
If a signal changes often, you might want to collect data at a slower rate.
TriggerMode
(Optional) Whether to collect data for all triggering events ( ALWAYS
).
public string TriggerMode { get; set; }
Property Value
System.String
Remarks
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.