Skip to content

Support multiple functions per AWS event, merge SNS filter policies - #1462

Open
ellen-goc wants to merge 2 commits into
masterfrom
chore/cleanup-uncommitted-2026-07-05
Open

Support multiple functions per AWS event, merge SNS filter policies#1462
ellen-goc wants to merge 2 commits into
masterfrom
chore/cleanup-uncommitted-2026-07-05

Conversation

@ellen-goc

Copy link
Copy Markdown

Summary

  • AWS_EVENT_MAPPING now maps an ARN to a list of functions instead of a single function (with backward-compat handling for the old single-string format), so multiple Lambda functions can respond to the same triggering event/ARN.
  • SNSEventSource.update() now merges a new filter policy with the subscription's existing filter policy instead of overwriting it.

Test plan

  • `pytest tests/test_handler.py tests/test_utilities.py"

…licies on update

- AWS_EVENT_MAPPING now maps an ARN to a list of functions instead of a single function, with backward-compat handling for the old single-string format
- LambdaHandler dispatches to all mapped functions for a triggered event instead of only the first
- SNSEventSource.update() now merges new filter policies with the subscription's existing filter policy instead of overwriting it
@ellen-goc
ellen-goc force-pushed the chore/cleanup-uncommitted-2026-07-05 branch from 8866568 to ae0b72c Compare July 13, 2026 11:04
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 74.949% (+0.2%) from 74.785% — chore/cleanup-uncommitted-2026-07-05 into master

@ellen-goc

Copy link
Copy Markdown
Author

✅ CI green — Slack notification sent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants