Rohit Lakhotia
Rohit Lakhotia

Reputation: 135

Can I trigger same AWS lambda from multiple SQS?

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?

Upvotes: 5

Views: 5361

Answers (1)

Mark B
Mark B

Reputation: 201058

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

Upvotes: 5

Related Questions