Reputation: 345
I want to use trigger multiple lambda functions from a single s3 bucket but i'm getting overlap error I in fact found a solution that i need to use SNS for the same. The architecture would be like
Upvotes: 4
Views: 8200
Reputation: 200436
Is there any other solution to it?
Probably, but SNS is the correct solution to "fan out" messages to multiple consumers.
if not how to implement it using SNS?
Exactly like in the diagram you posted. You would configure S3 to send new object notifications to an SNS topic, and you would configure each Lambda function to subscribe to the SNS topic.
Upvotes: 6