aws-cdk-lib.aws_iotfleetwise.CfnCampaign.CollectionSchemeProperty

interface CollectionSchemeProperty

LanguageType name
.NETAmazon.CDK.AWS.IoTFleetWise.CfnCampaign.CollectionSchemeProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiotfleetwise#CfnCampaign_CollectionSchemeProperty
Javasoftware.amazon.awscdk.services.iotfleetwise.CfnCampaign.CollectionSchemeProperty
Pythonaws_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

NameTypeDescription
conditionBasedCollectionScheme?IResolvable | ConditionBasedCollectionSchemeProperty(Optional) Information about a collection scheme that uses a simple logical expression to recognize what data to collect.
timeBasedCollectionScheme?IResolvable | TimeBasedCollectionSchemeProperty(Optional) Information about a collection scheme that uses a time period to decide how often to collect data.

conditionBasedCollectionScheme?

Type: IResolvable | ConditionBasedCollectionSchemeProperty (optional)

(Optional) Information about a collection scheme that uses a simple logical expression to recognize what data to collect.


timeBasedCollectionScheme?

Type: IResolvable | TimeBasedCollectionSchemeProperty (optional)

(Optional) Information about a collection scheme that uses a time period to decide how often to collect data.