SNS filter policy definition in CloudFormation

0

My customer is using SNS filter policies with Lambda subscribers to limit which Lambda functions execute. They use a single global SNS queue for simplicity. Today they are manually deploying the subscription filters as it appears this is not supported directly in CloudFormation, and when they forget it results in a LOT of extra lambda executions. Is there a recommended way to build SNS subscription filters in a cloudformation template?

asked 6 years ago1656 views
1 Answer
0
Accepted Answer

You can read the blog post [I] posted on the 16th of August 2018. The CloudFormation resource AWS::SNS::Subscription [2] now supports a new field called FilterPolicy.

[1] https://aws.amazon.com/blogs/compute/managing-amazon-sns-subscription-attributes-with-aws-cloudformation/

[2] https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html

EXPERT
Serhat
answered 6 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions