interface ScalingConfigurationInputProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CodeBuild.CfnFleet.ScalingConfigurationInputProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodebuild#CfnFleet_ScalingConfigurationInputProperty |
Java | software.amazon.awscdk.services.codebuild.CfnFleet.ScalingConfigurationInputProperty |
Python | aws_cdk.aws_codebuild.CfnFleet.ScalingConfigurationInputProperty |
TypeScript | aws-cdk-lib » aws_codebuild » CfnFleet » ScalingConfigurationInputProperty |
The scaling configuration input of a compute fleet.
Example
// 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
| Name | Type | Description |
|---|---|---|
| max | number | The maximum number of instances in the fleet when auto-scaling. |
| scaling | string | The scaling type for a compute fleet. |
| target | IResolvable | (IResolvable | Target)[] | A list of TargetTrackingScalingConfiguration objects. |
maxCapacity?
Type:
number
(optional)
The maximum number of instances in the fleet when auto-scaling.
scalingType?
Type:
string
(optional)
The scaling type for a compute fleet.
targetTrackingScalingConfigs?
Type:
IResolvable | (IResolvable | Target)[]
(optional)
A list of TargetTrackingScalingConfiguration objects.

.NET
Go
Java
Python
TypeScript