SNS Flashcards
What message formats is supported?
- SMS text message
- SQS queues
- (any) HTTP endpoint
- (pushing directly to mobile devices)
How can an SNS notification trigger a Lambda function?
The Lambda function subscribes to an SNS topic, and when a message is published to that topic the Lambda function is invoked with the payload of the published message.
Can a single SNS topic can have subscribers that requires differently formatted messages subscribing to it?
Yes. When you publish to a topic, SNS delivers appropriately formatted copies of your message to each subscriber.
What mechanism is used to prevent messages published to SNS from being lost?
The messages are stored redundantly across multiple availability zones.
With SNS you have a pay-as-you-go model without any up-front costs.
Yes.