interface TargetTrackingScalingConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodeBuild.Mixins.CfnFleetPropsMixin.TargetTrackingScalingConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodebuild/mixins#CfnFleetPropsMixin_TargetTrackingScalingConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.codebuild.mixins.CfnFleetPropsMixin.TargetTrackingScalingConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_codebuild.mixins.CfnFleetPropsMixin.TargetTrackingScalingConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_codebuild » mixins » CfnFleetPropsMixin » 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 { mixins as codebuild_mixins } from '@aws-cdk/mixins-preview/aws-codebuild';
const targetTrackingScalingConfigurationProperty: codebuild_mixins.CfnFleetPropsMixin.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