Feature Request: Multiple Sufix/Prefix on S3 Event
- Dominant language
- Python
- Stars
- 11.1k
- Forks
- 1k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 2
Description
It would be a nice feature if the **on_s3_event** could receive a list of **prefix**/**suffix**, and this would create X triggers for the specified Lambda. At this time, the only option is to create one trigger by decorator and the others by hand.
```
@app.on_s3_event(bucket=BUCKET_NAME, suffix=[".jpg", ".png", ".svg"])
def function_name(event: S3Event):
pass
```
Contributor guide
Research direction
Start at the on_s3_event entry point and trace how its prefix and suffix arguments become S3-to-Lambda triggers. Confirm how existing single-value behavior works; done means list-valued prefixes and suffixes create the requested triggers without breaking the current decorator usage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100