SNS block send SMS for specific countries

1

Hello. Does it possible to block countries for SMS sending in SMS settings (SNS service)

  • Following up. Did anyone figure out a way?

1回答
0

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/

回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ