interface TargetTrackingScalingConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CodeBuild.CfnFleet.TargetTrackingScalingConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodebuild#CfnFleet_TargetTrackingScalingConfigurationProperty |
Java | software.amazon.awscdk.services.codebuild.CfnFleet.TargetTrackingScalingConfigurationProperty |
Python | aws_cdk.aws_codebuild.CfnFleet.TargetTrackingScalingConfigurationProperty |
TypeScript | aws-cdk-lib » aws_codebuild » CfnFleet » TargetTrackingScalingConfigurationProperty |
Defines when a new instance is auto-scaled into the 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 targetTrackingScalingConfigurationProperty: codebuild.CfnFleet.TargetTrackingScalingConfigurationProperty = {
metricType: 'metricType',
targetValue: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| metric | string | The metric type to determine auto-scaling. |
| target | number | The value of metricType when to start scaling. |
metricType?
Type:
string
(optional)
The metric type to determine auto-scaling.
targetValue?
Type:
number
(optional)
The value of metricType when to start scaling.

.NET
Go
Java
Python
TypeScript