- Newest
- Most votes
- Most comments
Unfortunately, SNS does not support such feature yet. However, if needed be, as a workaround you may build a custom lambda that filters the messages with unwanted country code and then processes the Publish API [1] on rest of the messages.In short you may add logic to simply check country code for entered phone number and deny PublishAPI based on these results.
For any new feature release, refer to AWS blogs [2] and Whats new [3] page
References: 1] https://docs.aws.amazon.com/sns/latest/api/API_Publish.html 2] https://aws.amazon.com/blogs/aws/ 3] https://aws.amazon.com/new/
This new feature should help here: https://aws.amazon.com/about-aws/whats-new/2024/05/amazon-pinpoint-country-control-sms-delivery/
Although announced for Pinpoint, it affects SNS as well (as per documentation: https://docs.aws.amazon.com/sms-voice/latest/userguide/protect-configuration.html).
Relevant content
- asked 2 years ago
- asked 5 months ago
- asked a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago
Following up. Did anyone figure out a way?