Lambda Authorizer for API Gateway - maximum size of returned policy

0

What is the limitation of the maximum document size returned by the authorizer ? Is it specified in doc [https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html] parameter : ** "Length, in characters, of API Gateway resource policy"** - 8192 ? and perhaps this same parameter called as "AWS Lambda authorizer result size" (also 8 kB) shown in Service Quotas console? Enter image description here

My dilemmas result from the fact that currently my authorizer returns policies with sizes even over 100kB and everything works fine, there are no errors in API Gateway execution logs.

1回答
0

I've discussed this with AWS resources and the lambda authorizer response can go up to the maximum Lambda response size of around 6MB. I've tested large responses (nowhere near 6MB, but larger than 8k) and they work fine. According to AWS, the 8k limit applies to WebSocket APIs.

Preston
回答済み 8ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ