TimeBasedCollectionSchemeProperty Struct
Information about a collection scheme that uses a time period to decide how often to collect data.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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 timeBasedCollectionSchemeProperty: iotfleetwise.CfnCampaign.TimeBasedCollectionSchemeProperty = {
periodMs: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iotfleetwise as iotfleetwise
time_based_collection_scheme_property = iotfleetwise.CfnCampaign.TimeBasedCollectionSchemeProperty(
period_ms=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotfleetwise.*;
TimeBasedCollectionSchemeProperty timeBasedCollectionSchemeProperty = TimeBasedCollectionSchemeProperty.builder()
.periodMs(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 timeBasedCollectionSchemeProperty = new TimeBasedCollectionSchemeProperty {
PeriodMs = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
timeBasedCollectionSchemeProperty := &TimeBasedCollectionSchemeProperty{
PeriodMs: jsii.Number(123),
}
Properties
The time period (in milliseconds) to decide how often to collect data.
For example, if the time period is 60000 , the Edge Agent software collects data once every minute.