MetricStreamStatisticsConfigurationProperty Struct
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
ts
// 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
additionalStatisticsstring[]additional_statisticstyping.List[str]additionalStatisticsList<String>AdditionalStatisticsstring[]AdditionalStatistics*[]*stringrequired#The additional statistics to stream for the metrics listed in `IncludeMetrics` .
includeMetricsIResolvable | IResolvable | CfnMetricStream.MetricStreamStatisticsMetricProperty[]include_metricstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, MetricStreamStatisticsMetricProperty]]]includeMetricsIResolvableIncludeMetricsIResolvableIncludeMetricsinterface{}required#An array that defines the metrics that are to have additional statistics streamed.