I was wondering, is it possible to send messages to an SNS topic that is in a different region? Asking because can't find any leads through my research.
Basically I want to be able to send messages from the EU region to an SNS topic that has its region set to us-east-1 and that SNS will then publish the message to its subscribers
CodePudding user response:
is it possible to send messages to an SNS topic that is in a different region?
Yes, of course.
When you’re using the SDK, just set the region to us-east-1
.
Nothing is stopping you from sending messages to an SNS topic in another region.
You can send messages to an SNS topic from anywhere on the internet as long as you call the correct regional endpoint for the topic (which is determined by the region you set in the SDK).