aws-samples / serverless-patterns

Serverless patterns. Learn more at the website: https://serverlessland.com/patterns.
https://serverlessland.com
Other
1.48k stars 863 forks source link

New pattern submission - REST API via API Gateway, acting as SNS proxy with SNS Filter Policy (SLS & Python) #2194

Closed bb245 closed 1 month ago

bb245 commented 2 months ago

Issue #, if available: https://github.com/aws-samples/serverless-patterns/issues/2162

Description of changes:

This pattern leverages the Serverless Framework to deploy a REST API via Amazon API Gateway, functioning as an Amazon SNS proxy. It incorporates SNS Filter Policy for triggering Lambda functions based on MessageBody filters. Additionally, it enables CloudWatch Logs and X-Ray tracing for both API Gateway and Lambda through the Powertools for AWS Lambda developer toolkit.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

bb245 commented 2 months ago

@bfreiberg, Thank you for the feedback. All issues have been addressed and retested.

bfreiberg commented 2 months ago

Thanks for your contribution @bb245 A Developer Advocate will merge the changes and publish the pattern to serverlessland.com.