Tutorials References Exercises Videos Menu
Paid Courses Website NEW Pro NEW

AWS SNS Filtering and Nested Serverless Applications


AWS SNS filtering

AWS SNS is a controlled publisher/subscriber service.

It helps filter messages based on defined rules

A single message can have several recipients.


Subscribers and Publishers

Users subscribe to topics (subscribers).

A topic subscriber will get any new messages published to that subject.

The publisher doesn't need to know how the message will be used.

The publisher delivers messages to the subject, and the recipients can do anything they wish with them.

This is what separates publishers and subscribers.

SQS queues and Lambda functions are examples of subscribers.


AWS SNS Filtering and Nested Serverless Applications Video

W3schools.com collaborates with Amazon Web Services to deliver digital training content to our students.


Filtering Policies

With AWS SNS filtering, you can create filtering policies.

A filtering policy helps filter messages based on defined rules.

Messages are delivered only to specific users.

For example, you can create a filtering policy to check for contact messages only.

If message properties are not matched with the filtering policy rules, the message is not delivered.

Nested serverless applications

Nested serverless applications are smaller applications.

They can be reused.

You can consider them as reusable components.

They can run tasks like data backup, data indexing, and analytics across your larger application.


Related reads:

Amazon SNS Subscription Filter Policies

AWS Serverless Exercises

Test Yourself With Exercises

Exercise:

Fill in the blanks.

The publisher delivers a  to the 

Start the Exercise