aws-cdk-lib.aws_cloudwatch.CfnMetricStream.MetricStreamStatisticsConfigurationProperty

interface MetricStreamStatisticsConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.CloudWatch.CfnMetricStream.MetricStreamStatisticsConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscloudwatch#CfnMetricStream_MetricStreamStatisticsConfigurationProperty
Javasoftware.amazon.awscdk.services.cloudwatch.CfnMetricStream.MetricStreamStatisticsConfigurationProperty
Pythonaws_cdk.aws_cloudwatch.CfnMetricStream.MetricStreamStatisticsConfigurationProperty
TypeScript aws-cdk-lib » aws_cloudwatch » CfnMetricStream » MetricStreamStatisticsConfigurationProperty

This structure specifies a list of additional statistics to stream, and the metrics to stream those additional statistics for.

All metrics that match the combination of metric name and namespace will be streamed with the additional statistics, no matter their dimensions.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudwatch as cloudwatch } from 'aws-cdk-lib';
const metricStreamStatisticsConfigurationProperty: cloudwatch.CfnMetricStream.MetricStreamStatisticsConfigurationProperty = {
  additionalStatistics: ['additionalStatistics'],
  includeMetrics: [{
    metricName: 'metricName',
    namespace: 'namespace',
  }],
};

Properties

NameTypeDescription
additionalStatisticsstring[]The additional statistics to stream for the metrics listed in IncludeMetrics .
includeMetricsIResolvable | IResolvable | MetricStreamStatisticsMetricProperty[]An array that defines the metrics that are to have additional statistics streamed.

additionalStatistics

Type: string[]

The additional statistics to stream for the metrics listed in IncludeMetrics .


includeMetrics

Type: IResolvable | IResolvable | MetricStreamStatisticsMetricProperty[]

An array that defines the metrics that are to have additional statistics streamed.