ThrottleSettings

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

Bases: object

__init__(*, burst_limit=None, rate_limit=None)

Container for defining throttling parameters to API stages or methods.

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

link: :link:: https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-request-throttling.html

Attributes

burst_limit

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

default :default: none

Return type

Union[int, float, None]

rate_limit

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

default :default: none

Return type

Union[int, float, None]