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-27T16:50:56.996Z") @Stability(Stable) public interface CpuUtilizationScalingProps extends software.amazon.jsii.JsiiSerializable, BaseTargetTrackingProps
The properties for enabling scaling based on CPU utilization.

Example:

 ApplicationTargetGroup target;
 BaseService service;
 ScalableTaskCount scaling = service.autoScaleTaskCount(EnableScalingProps.builder().maxCapacity(10).build());
 scaling.scaleOnCpuUtilization("CpuScaling", CpuUtilizationScalingProps.builder()
         .targetUtilizationPercent(50)
         .build());
 scaling.scaleOnRequestCount("RequestScaling", RequestCountScalingProps.builder()
         .requestsPerTarget(10000)
         .targetGroup(target)
         .build());