Skip to content
v2.274.0

ResourceMetricSelectionProperty Struct Added in v2.274.0 ​

Defines which metrics are enabled for detailed monitoring on the resource.

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 resourceMetricSelectionProperty: cloudwatch.CfnResourceMetricsConfiguration.ResourceMetricSelectionProperty = {
  includeMetrics: ['includeMetrics'],
};

Properties ​

includeMetricsstring[]include_metricstyping.List[str]includeMetricsList<String>IncludeMetricsstring[]IncludeMetrics*[]*stringrequired#
The list of metric names to include in detailed monitoring for the resource.