1 Answer
- Newest
- Most votes
- Most comments
0
Hi,
I'd suggest you to read https://forum.serverless.com/t/cannot-have-overlapping-suffixes-in-two-rules-if-the-prefixes-are-overlapping-for-the-same-event-type/15852/2
It is a use case highly similar to yours where a solution is provided
AWS doesn’t support multiple overlapping triggers for different lambdas. This means that
you cannot create a trigger of “/my/path” twice for the same bucket and direct it to two
lambdas (or “/my/path” and “/my/path/folder” to different lambdas).
This can be reproduced using the aws console, using the properties
tab → Event notifications → Create event notification
The solution I used is to make the bucket notify a SNS message, which in turn,. triggers
the lambda (and doesn’t have the same limitation)/
Best,
Didier
Relevant content
- asked 2 years ago
- asked 7 months ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 months ago