Interface ThrottleSettings

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ThrottleSettings.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-06T23:25:03.716Z") @Stability(Stable) public interface ThrottleSettings extends software.amazon.jsii.JsiiSerializable
Container for defining throttling parameters to API stages.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.apigatewayv2.*;
 ThrottleSettings throttleSettings = ThrottleSettings.builder()
         .burstLimit(123)
         .rateLimit(123)
         .build();
 
  • Method Details

    • getBurstLimit

      @Stability(Stable) @Nullable default Number getBurstLimit()
      The maximum API request rate limit over a time ranging from one to a few seconds.

      Default: none

    • getRateLimit

      @Stability(Stable) @Nullable default Number getRateLimit()
      The API request steady-state rate limit (average requests per second over an extended period of time).

      Default: none

    • builder

      @Stability(Stable) static ThrottleSettings.Builder builder()
      Returns:
      a ThrottleSettings.Builder of ThrottleSettings