# TargetTrackingScalingPolicyProperty

A scaling policy for the capacity provider that automatically adjusts capacity to maintain a target value for a specific metric.

- Source: Generated code
- Type last changed: v2.231.0 · 1 Dec 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const targetTrackingScalingPolicyProperty: lambda.CfnCapacityProvider.TargetTrackingScalingPolicyProperty = {
  predefinedMetricType: 'predefinedMetricType',
  targetValue: 123,
};
```

## Properties

- `predefinedMetricType`: string (required) — The predefined metric type to track for scaling decisions.

- `targetValue`: number (required) — The target value for the metric that the scaling policy attempts to maintain through scaling actions.
