Bases: object
Container for defining throttling parameters to API stages or methods.
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
https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-request-throttling.html
infused
Example:
# integration: apigateway.LambdaIntegration api = apigateway.RestApi(self, "hello-api") v1 = api.root.add_resource("v1") echo = v1.add_resource("echo") echo_method = echo.add_method("GET", integration, api_key_required=True) plan = api.add_usage_plan("UsagePlan", name="Easy", throttle=apigateway.ThrottleSettings( rate_limit=10, burst_limit=2 ) ) key = api.add_api_key("ApiKey") plan.add_api_key(key)
Attributes
The maximum API request rate limit over a time ranging from one to a few seconds.
none
The API request steady-state rate limit (average requests per second over an extended period of time).
none
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4