Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for subsciption filter policy from SNS->SQS #170

Open
colesiegel opened this issue Jan 31, 2023 · 2 comments
Open

Support for subsciption filter policy from SNS->SQS #170

colesiegel opened this issue Jan 31, 2023 · 2 comments

Comments

@colesiegel
Copy link

Hi,

Are subscription filter policies supported by this plugin?

I see some reference to FilterPolicy in the codebase but it is not documented in the README. Is it possible to provide some documentation on how to configure subscription filter policies with serverless-offline-sns?

@ajejoseph22
Copy link

@mj1618

@lodemo
Copy link

lodemo commented Nov 30, 2023

Looking at the function evaluatePolicies in sns-server.ts it looks like filter policies are supported, but only for the scope MessageAttributes.

Would be nice to support the scope MessageBody too, set through the attribute FilterPolicyScope

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

No branches or pull requests

4 participants