100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Lab - Design and Manage Pub/Sub Messaging with Amazon Simple Notification Service (SNS) | Task 3 | mplement Message Filtering in Amazon SNS |with expert solutions

Rating
-
Sold
-
Pages
6
Grade
A
Uploaded on
22-03-2025
Written in
2024/2025

Lab - Design and Manage Pub/Sub Messaging with Amazon Simple Notification Service (SNS) | Task 3 | mplement Message Filtering in Amazon SNS |with expert solutions

Institution
AWS Cert
Module
AWS cert









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
AWS cert
Module
AWS cert

Document information

Uploaded on
March 22, 2025
Number of pages
6
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

Lab - Design and Manage
Pub/Sub Messaging with
Amazon Simple Notification
Service (SNS) Task 3:
Implement Message Filtering in
Amazon SNS
Message filtering in Amazon SNS allows subscribers to receive only
messages that match specific criteria, reducing noise and improving
efficiency. Below is a step-by-step guide with common questions and
answers.



Step-by-Step Guide
1. Define Message Attributes
When publishing a message to an SNS topic, include message
attributes (key-value pairs) to categorize messages.
Example:
json
Copy
{
"category": "news",
"priority": "high",
"price": 150
}
2. Create a Filter Policy
Filter policies are JSON documents that define conditions based on
message attributes. Attach these policies to subscribers.
o Basic Filter (Exact match):
json

, Copy
{
"category": ["news"]
}
o Logical Operators (AND/OR):
json
Copy
{
"category": ["news"],
"priority": ["high"]
}
o Numeric Comparisons:
json
Copy
{
"price": [{"numeric": [">", 100]}]
}
o Exists Check:
json
Copy
{
"category": [{"exists": true}]
}
3. Apply the Filter Policy to a Subscription
Use the AWS CLI, SDK, or Console to attach the policy to a subscriber
(e.g., SQS queue, Lambda).
AWS CLI Example:
bash
Copy
£11.97
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached


Also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
BRAINBOOSTERS Chamberlain College Of Nursing
Follow You need to be logged in order to follow users or courses
Sold
649
Member since
2 year
Number of followers
250
Documents
22594
Last sold
7 hours ago

In this page you will find all documents , flashcards and package deals offered by seller BRAINBOOSTERS

4.5

340 reviews

5
264
4
30
3
21
2
5
1
20

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions