interface TargetTrackingScalingConfigurationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CodeBuild.CfnFleet.TargetTrackingScalingConfigurationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscodebuild#CfnFleet_TargetTrackingScalingConfigurationProperty |
![]() | software.amazon.awscdk.services.codebuild.CfnFleet.TargetTrackingScalingConfigurationProperty |
![]() | aws_cdk.aws_codebuild.CfnFleet.TargetTrackingScalingConfigurationProperty |
![]() | 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.