interface CollectionSchemeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoTFleetWise.Mixins.CfnCampaignPropsMixin.CollectionSchemeProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiotfleetwise/mixins#CfnCampaignPropsMixin_CollectionSchemeProperty |
Java | software.amazon.awscdk.mixins.preview.services.iotfleetwise.mixins.CfnCampaignPropsMixin.CollectionSchemeProperty |
Python | aws_cdk.mixins_preview.aws_iotfleetwise.mixins.CfnCampaignPropsMixin.CollectionSchemeProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iotfleetwise » mixins » CfnCampaignPropsMixin » 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 { mixins as iotfleetwise_mixins } from '@aws-cdk/mixins-preview/aws-iotfleetwise';
const collectionSchemeProperty: iotfleetwise_mixins.CfnCampaignPropsMixin.CollectionSchemeProperty = {
conditionBasedCollectionScheme: {
conditionLanguageVersion: 123,
expression: 'expression',
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