Interface CpuUtilizationScalingProps

All Superinterfaces:
BaseTargetTrackingProps, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CpuUtilizationScalingProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:47.281Z") @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());