Skip to content
v2.273.0

TargetTrackingScalingConfigurationProperty Struct ​

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

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 ​

metricTypestringmetric_typestrmetricTypeStringMetricTypestringMetricType*string#
The metric type to determine auto-scaling.
targetValuenumbertarget_valueint | floattargetValueNumberTargetValuedoubleTargetValue*float64#
The value of `metricType` when to start scaling.