Lambda Authorizer Context Response Size Limit

0

I’ve implemented a lambda authorizer for an HTTP API using the simple response format and it works great. I am passing some extra data via the $context that is handed off to the final lambda along with the accountID. The amount of data I want to pass is already growing so I wanted to know what the limits are. The most I could find is a payload size limit for uploads to API Gateway.

Is there a size limit on the lambda authorizer response?

kh
demandé il y a 2 ans716 vues
1 réponse
0
Réponse acceptée

Lambda has a limit of payload of 6MB (for sync calls, and 256kb for async) so in your case, as the context is added to the payload passed to the final lambda, the max size would be (6MB-(size payload from API gateway))

Miki
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions