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 Resposta
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
respondido há 8 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas