使用Lambda集成将二进制文件上传到API Gateway代理

0

【以下的问题经过翻译处理】 看起来似乎没有一种方法可以通过API Gateway Proxy/Lambda集成上传二进制文件。我是对的吗?如果是这样,是否有一个简单的解决方法?不幸的是,由于安全约束,上传到S3并触发Lambda事件不是一个选项。

profile picture
EXPERT
asked 6 months ago1 views
1 Answer
0

【以下的回答经过翻译处理】 这篇文章展示了如何使用API网关中的新二进制支持,将此Lambda函数转换为公共API,您可以使用它来在POST请求中包含二进制图像文件,并获得该图像的缩略图版本。还展示了如何使用API Gateway和Lambda现在可以创建缩略图服务,您可以使用它来在POST请求中包含二进制图像文件,并获得相同图像的缩略图版本。

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

profile picture
EXPERT
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions