aws-cdk-lib.aws_cloudwatch.CfnMetricStream.MetricStreamStatisticsMetricProperty

interface MetricStreamStatisticsMetricProperty

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

A structure that specifies the metric name and namespace for one metric that is going to have additional statistics included in the stream.

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 metricStreamStatisticsMetricProperty: cloudwatch.CfnMetricStream.MetricStreamStatisticsMetricProperty = {
  metricName: 'metricName',
  namespace: 'namespace',
};

Properties

NameTypeDescription
metricNamestringThe name of the metric.
namespacestringThe namespace of the metric.

metricName

Type: string

The name of the metric.


namespace

Type: string

The namespace of the metric.