Binary uploads to API Gateway Proxy with Lambda Integration

0

It doesn't look like there's a way to upload binaries with an API Gateway Proxy/Lambda integration. Am I correct? If so, is there a clean workaround? Unfortunately, uploading to S3 and triggering a Lambda event isn't an option due to security constraints.

1 Antwort
0
Akzeptierte Antwort

Does this blog post help at all?

In this post, I show how you can use the new binary support in API Gateway to turn this Lambda function into a public API, which you can use to include a binary image file in a POST request and get a thumbnail version of that same image. I also show how you can now use API Gateway and Lambda to create a thumbnail service, which you can use to include a binary image file in a POST request and get a thumbnail version of the same image.

https://aws.amazon.com/blogs/compute/binary-support-for-api-integrations-with-amazon-api-gateway/

AWS
Steve
beantwortet vor 7 Jahren
profile picture
EXPERTE
überprüft vor 5 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen