[英]can we create multiple aws lambda function when using aws-serverless-express with node js
We're using nodejs express application deploy in aws lambda function. 我们正在AWS Lambda函数中使用nodejs express应用程序部署。 Can we create multiple lambda function using cloudformation file in expressjs application?
我们可以在expressjs应用程序中使用cloudformation文件创建多个lambda函数吗? And how can we create multiple resources using cloudformation file?
以及如何使用cloudformation文件创建多个资源?
solved the issue by creating a proxy resources inside main resources 通过在主要资源内创建代理资源解决了该问题
/Login
/{proxy}
/User
/{proxy}
This mechanism solved the issue for allowed to different resources communicate different lambda function. 该机制解决了允许不同资源通信不同lambda函数的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.