# MetricConfigurationProperty

- 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 metricConfigurationProperty: cloudwatch.CfnAnomalyDetector.MetricConfigurationProperty = {
  excludedTimeRanges: [{
    endTime: 'endTime',
    startTime: 'startTime',
  }],
  metricTimeZone: 'metricTimeZone',
};
```

## Properties

- `excludedTimeRanges`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnomalyDetector.RangeProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_cloudwatch.CfnAnomalyDetector.RangeProperty.html)[]

- `metricTimeZone`: string
