SNS Flashcards
What is SNS?
Simple Notification Service
Web service to easily set up operative notification from the cloud
pub-sub
Is SNS a poll or push service?
PUSH
Is SNS synchronous or ansynchronous?
synchronous
Delivery methods of SNS
SNS message (text)
SQS
HttpRequest
Price of 1 million SNS requests
$0.50
Price of 10,000 Notif over HTTP in SNS
$0.06
Price of 100 notif over text in SNS
$0.75
Price of 100,000 notif over email in SNS
$2.00
Can you trigger Lambda with SNS?
Yes you can trigger a Lambda when a message is published to SNS topic and then Lambda can trigger to post to another SNS topic
SNS endpoints
Application
HTTP
Lambda
SQS
Filter policy for SNS
simple JSON object
by default subscribers receive every message published to a topic but filter can define which messages they want