Can I trigger same AWS lambda from multiple SQS?

南笙酒味 提交于 2020-01-30 12:12:12

问题


I want to trigger a lambda function from multiple SQS queues. Most of the processing the lambda will do is same, just one small step will be based on the table name. I don't want to maintain two separate lambda for that. What's the pros and cons of having same/multiple lambda?


回答1:


Yes there's no reason you can't configure it that way. It should work fine.



来源:https://stackoverflow.com/questions/59397753/can-i-trigger-same-aws-lambda-from-multiple-sqs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!