AWS Simple Notification Service (SNS) sandbox
Scope
Region
Features
Apps PUSH messages to a topic.
You can subscribe a queue (SQS) or Lambda to a topic cross-region, cross-account. When doing so it is important to use the global condition key SourceArn
or SourceAccount
in queue resource policy to restrict which topic can publish to the queue.
Often the first building block of a fan out architectural pattern.
graph LR src(source) --> sns sns(sns use1) --> q1(sqs1 usw1) --> app1 sns --> q2(sqs2 use1) --> app2 sns --> q3(sqs3 euw1) --> app3