Interface CpuUtilizationScalingProps
- All Superinterfaces:
BaseTargetTrackingProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CpuUtilizationScalingProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:23:57.416Z")
@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
-