interface MetricStreamStatisticsConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CloudWatch.CfnMetricStream.MetricStreamStatisticsConfigurationProperty |
Java | software.amazon.awscdk.services.cloudwatch.CfnMetricStream.MetricStreamStatisticsConfigurationProperty |
Python | aws_cdk.aws_cloudwatch.CfnMetricStream.MetricStreamStatisticsConfigurationProperty |
TypeScript | @aws-cdk/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 * as cloudwatch from '@aws-cdk/aws-cloudwatch';
const metricStreamStatisticsConfigurationProperty: cloudwatch.CfnMetricStream.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[]
The additional statistics to stream for the metrics listed in IncludeMetrics
.
includeMetrics
Type:
IResolvable
|
IResolvable
|
Metric
[]
An array that defines the metrics that are to have additional statistics streamed.