python 中的 Lambda 函数,用于从 API Gateway 代理集成管理 ALL 方法

Lambda function in python for manage ALL method from API Gateway proxy integration

提问人:Manuel Santi 提问时间:11/7/2023 更新时间:11/7/2023 访问量:16

问:

这是我第一次开发 API Gateway 集成,用于管理不同方法调用上的某些任务。 按照此 AWS 教程,我将 API 网关设置为代理网关,添加了 ANY 方法并连接到我的 Nodejs lambda

https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-create-api-as-simple-proxy-for-lambda.html

我会使用 python 代替 nodejs,但我找不到任何资源来使用 python 重写 AWS 文章中的 nodejs 代码。 是否有使用 python lambda 代码在代理模式下管理 API 网关的经验?

提前非常感谢 曼努埃尔

节点.js python-3.x 亚马逊网络服务 aws-lambda aws-api-gateway

评论


答: 暂无答案