1 個回答
- 最新
- 最多得票
- 最多評論
0
You can't do that directly; but what you could do is use a custom authorizer which stores the number of calls from each client in a persistent manner (DynamoDB perhaps?) and then allows or disallows access based on the number of requests.
It's extra work to do; the alternative is to use the REST API Gateway service.
相關內容
- 已提問 6 個月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
This will only work if you disable authorization caching, which will increase the cost as API GW will invoke the Lambda function for each request.