Ankit Singh
Ankit Singh

Reputation: 345

Trigger multiple lambda functions

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 enter image description here

Upvotes: 4

Views: 8200

Answers (1)

Mark B
Mark B

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

Related Questions