interface MetricStreamStatisticsConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CloudWatch.Mixins.CfnMetricStreamPropsMixin.MetricStreamStatisticsConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscloudwatch/mixins#CfnMetricStreamPropsMixin_MetricStreamStatisticsConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.cloudwatch.mixins.CfnMetricStreamPropsMixin.MetricStreamStatisticsConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_cloudwatch.mixins.CfnMetricStreamPropsMixin.MetricStreamStatisticsConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_cloudwatch » mixins » CfnMetricStreamPropsMixin » 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 { mixins as cloudwatch_mixins } from '@aws-cdk/mixins-preview/aws-cloudwatch';
const metricStreamStatisticsConfigurationProperty: cloudwatch_mixins.CfnMetricStreamPropsMixin.MetricStreamStatisticsConfigurationProperty = {
additionalStatistics: ['additionalStatistics'],
includeMetrics: [{
metricName: 'metricName',
namespace: 'namespace',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| additional | string[] | The additional statistics to stream for the metrics listed in IncludeMetrics . |
| include | IResolvable | (IResolvable | Metric)[] | An array that defines the metrics that are to have additional statistics streamed. |
additionalStatistics?
Type:
string[]
(optional)
The additional statistics to stream for the metrics listed in IncludeMetrics .
includeMetrics?
Type:
IResolvable | (IResolvable | Metric)[]
(optional)
An array that defines the metrics that are to have additional statistics streamed.

.NET
Go
Java
Python
TypeScript