interface CollectionSchemeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.IoTFleetWise.CfnCampaignPropsMixin.CollectionSchemeProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsiotfleetwise#CfnCampaignPropsMixin_CollectionSchemeProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.iotfleetwise.CfnCampaignPropsMixin.CollectionSchemeProperty |
Python | aws_cdk.cfn_property_mixins.aws_iotfleetwise.CfnCampaignPropsMixin.CollectionSchemeProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_iotfleetwise » 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 { aws_iotfleetwise as iotfleetwise } from '@aws-cdk/cfn-property-mixins';
const collectionSchemeProperty: iotfleetwise.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