Interface RequestCountScalingProps
- All Superinterfaces:
BaseTargetTrackingProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
RequestCountScalingProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:45.401Z")
@Stability(Stable)
public interface RequestCountScalingProps
extends software.amazon.jsii.JsiiSerializable, BaseTargetTrackingProps
Properties for enabling scaling based on request/second.
Example:
AutoScalingGroup autoScalingGroup; autoScalingGroup.scaleOnRequestCount("LimitRPS", RequestCountScalingProps.builder() .targetRequestsPerSecond(1000) .build());
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forRequestCountScalingProps
static final class
An implementation forRequestCountScalingProps
-
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
-
getTargetRequestsPerMinute
Target average requests/minute on each instance.Default: - Specify exactly one of 'targetRequestsPerMinute' and 'targetRequestsPerSecond'
-
getTargetRequestsPerSecond
Deprecated.Use 'targetRequestsPerMinute' instead(deprecated) Target average requests/seconds on each instance.Default: - Specify exactly one of 'targetRequestsPerMinute' and 'targetRequestsPerSecond'
-
builder
- Returns:
- a
RequestCountScalingProps.Builder
ofRequestCountScalingProps
-