# CfnResourceMetricsConfigurationProps

Properties for defining a `CfnResourceMetricsConfiguration`.

Extends: CfnResourceMetricsConfigurationProps
Used as props by: CfnResourceMetricsConfiguration

- Source: Generated code
- Type last changed: v2.274.0 · 20 Oct 2026

## 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 cfnResourceMetricsConfigurationProps: cloudwatch.CfnResourceMetricsConfigurationProps = {
  resourceArn: 'resourceArn',

  // the properties below are optional
  metricSelections: [{
    includeMetrics: ['includeMetrics'],
  }],
};
```

## Properties

- `metricSelections`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnResourceMetricsConfiguration.ResourceMetricSelectionProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_cloudwatch.CfnResourceMetricsConfiguration.ResourceMetricSelectionProperty.html)[] — The metric selections that define which metrics are enabled for detailed monitoring on the resource.

- `resourceArn`: string (required) — The Amazon Resource Name (ARN) of the resource for which the detailed monitoring metrics configuration is managed.
