API gateway payload limit
In this pattern, we use the API gateway to serve the static website .
However, it will fail due to payload size limit if some files need to be served that are > 10 mb.
It can be a problem that we have seen at least with :
- huge images to serve through the gateawy (usage of presigned url will be a workaround and better solution)
- but during development ,through map files that can exceed this size if there are lots of javascript / no optimization to enable debugging.