interface CollectionSchemeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.IoTFleetWise.CfnCampaign.CollectionSchemeProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiotfleetwise#CfnCampaign_CollectionSchemeProperty |
Java | software.amazon.awscdk.services.iotfleetwise.CfnCampaign.CollectionSchemeProperty |
Python | aws_cdk.aws_iotfleetwise.CfnCampaign.CollectionSchemeProperty |
TypeScript | aws-cdk-lib » aws_iotfleetwise » CfnCampaign » CollectionSchemeProperty |
Specifies what data to collect and how often or when to collect it.
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 collectionSchemeProperty: iotfleetwise.CfnCampaign.CollectionSchemeProperty = {
conditionBasedCollectionScheme: {
expression: 'expression',
// the properties below are optional
conditionLanguageVersion: 123,
minimumTriggerIntervalMs: 123,
triggerMode: 'triggerMode',
},
timeBasedCollectionScheme: {
periodMs: 123,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| condition | IResolvable | Condition | Information about a collection scheme that uses a simple logical expression to recognize what data to collect. |
| time | IResolvable | Time | Information about a collection scheme that uses a time period to decide how often to collect data. |
conditionBasedCollectionScheme?
Type:
IResolvable | Condition
(optional)
Information about a collection scheme that uses a simple logical expression to recognize what data to collect.
timeBasedCollectionScheme?
Type:
IResolvable | Time
(optional)
Information about a collection scheme that uses a time period to decide how often to collect data.

.NET
Go
Java
Python
TypeScript