# ScalingConfigurationInputProperty

The scaling configuration input of a 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 scalingConfigurationInputProperty: codebuild.CfnFleet.ScalingConfigurationInputProperty = {
  maxCapacity: 123,
  scalingType: 'scalingType',
  targetTrackingScalingConfigs: [{
    metricType: 'metricType',
    targetValue: 123,
  }],
};
```

## Properties

- `maxCapacity`: number — The maximum number of instances in the ﬂeet when auto-scaling.

- `scalingType`: string — The scaling type for a compute fleet.

- `targetTrackingScalingConfigs`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFleet.TargetTrackingScalingConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.CfnFleet.TargetTrackingScalingConfigurationProperty.html)[] — A list of `TargetTrackingScalingConfiguration` objects.
