# TargetTrackingScalingConfigurationProperty

Defines when a new instance is auto-scaled into the compute fleet.

- Source: Generated code
- Type last changed: v2.168.0 · 20 Nov 2024

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codebuild as codebuild } from 'aws-cdk-lib';
const targetTrackingScalingConfigurationProperty: codebuild.CfnFleet.TargetTrackingScalingConfigurationProperty = {
  metricType: 'metricType',
  targetValue: 123,
};
```

## Properties

- `metricType`: string — The metric type to determine auto-scaling.

- `targetValue`: number — The value of `metricType` when to start scaling.
