Interface CpuUtilizationScalingProps
- All Superinterfaces:
BaseTargetTrackingProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CpuUtilizationScalingProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:10.653Z")
@Stability(Stable)
public interface CpuUtilizationScalingProps
extends software.amazon.jsii.JsiiSerializable, BaseTargetTrackingProps
Properties for enabling scaling based on CPU utilization.
Example:
AutoScalingGroup autoScalingGroup; autoScalingGroup.scaleOnCpuUtilization("KeepSpareCPU", CpuUtilizationScalingProps.builder() .targetUtilizationPercent(50) .build());
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCpuUtilizationScalingProps
static final class
An implementation forCpuUtilizationScalingProps
-
Method Summary
Methods inherited from interface software.amazon.awscdk.services.autoscaling.BaseTargetTrackingProps
getCooldown, getDisableScaleIn, getEstimatedInstanceWarmup
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTargetUtilizationPercent
Target average CPU utilization across the task. -
builder
- Returns:
- a
CpuUtilizationScalingProps.Builder
ofCpuUtilizationScalingProps
-