Menu
×
   ❮   
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS R TYPESCRIPT ANGULAR GIT POSTGRESQL MONGODB ASP AI GO KOTLIN SASS VUE DSA GEN AI SCIPY AWS CYBERSECURITY DATA SCIENCE
     ❯   

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


×

Contact Sales

If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
sales@w3schools.com

Report Error

If you want to report an error, or if you want to make a suggestion, send us an e-mail:
help@w3schools.com

W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookie and privacy policy.

Copyright 1999-2024 by Refsnes Data. All Rights Reserved. W3Schools is Powered by W3.CSS.