aws-cdk-lib.aws_iotsitewise.CfnAssetModel.MetricWindowProperty

interface MetricWindowProperty

LanguageType name
.NETAmazon.CDK.AWS.IoTSiteWise.CfnAssetModel.MetricWindowProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiotsitewise#CfnAssetModel_MetricWindowProperty
Javasoftware.amazon.awscdk.services.iotsitewise.CfnAssetModel.MetricWindowProperty
Pythonaws_cdk.aws_iotsitewise.CfnAssetModel.MetricWindowProperty
TypeScript aws-cdk-lib » aws_iotsitewise » CfnAssetModel » MetricWindowProperty

Contains a time interval window used for data aggregate computations (for example, average, sum, count, and so on).

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotsitewise as iotsitewise } from 'aws-cdk-lib';
const metricWindowProperty: iotsitewise.CfnAssetModel.MetricWindowProperty = {
  tumbling: {
    interval: 'interval',

    // the properties below are optional
    offset: 'offset',
  },
};

Properties

NameTypeDescription
tumbling?IResolvable | TumblingWindowPropertyThe tumbling time interval window.

tumbling?

Type: IResolvable | TumblingWindowProperty (optional)

The tumbling time interval window.