ThrottleSettings

class aws_cdk.aws_apigatewayv2.ThrottleSettings(*, burst_limit=None, rate_limit=None)

Bases: object

Container for defining throttling parameters to API stages.

Parameters:
  • burst_limit (Union[int, float, None]) – The maximum API request rate limit over a time ranging from one to a few seconds. Default: none

  • rate_limit (Union[int, float, None]) – The API request steady-state rate limit (average requests per second over an extended period of time). Default: none

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_apigatewayv2 as apigatewayv2

throttle_settings = apigatewayv2.ThrottleSettings(
    burst_limit=123,
    rate_limit=123
)

Attributes

burst_limit

The maximum API request rate limit over a time ranging from one to a few seconds.

Default:

none

rate_limit

The API request steady-state rate limit (average requests per second over an extended period of time).

Default:

none