@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:03.390Z") @Stability(value=Experimental) public interface RequestCountScalingProps extends software.amazon.jsii.JsiiSerializable, BaseTargetTrackingProps
Example:
AutoScalingGroup autoScalingGroup;
autoScalingGroup.scaleOnRequestCount("LimitRPS", RequestCountScalingProps.builder()
.targetRequestsPerSecond(1000)
.build());
| Modifier and Type | Interface and Description |
|---|---|
static class |
RequestCountScalingProps.Builder
A builder for
RequestCountScalingProps |
static class |
RequestCountScalingProps.Jsii$Proxy
An implementation for
RequestCountScalingProps |
| Modifier and Type | Method and Description |
|---|---|
static RequestCountScalingProps.Builder |
builder() |
default Number |
getTargetRequestsPerMinute()
(experimental) Target average requests/minute on each instance.
|
default Number |
getTargetRequestsPerSecond()
Deprecated.
Use 'targetRequestsPerMinute' instead
|
getCooldown, getDisableScaleIn, getEstimatedInstanceWarmup@Stability(value=Experimental) @Nullable default Number getTargetRequestsPerMinute()
Default: - Specify exactly one of 'targetRequestsPerMinute' and 'targetRequestsPerSecond'
@Stability(value=Deprecated) @Deprecated @Nullable default Number getTargetRequestsPerSecond()
Default: - Specify exactly one of 'targetRequestsPerMinute' and 'targetRequestsPerSecond'
@Stability(value=Experimental) static RequestCountScalingProps.Builder builder()
builder in interface BaseTargetTrackingPropsRequestCountScalingProps.Builder of RequestCountScalingPropsCopyright © 2022. All rights reserved.