Skip to content

SMS SNS Dedicated Shortcode for only one country

0

Hi, I'm planning to use SNS to send 2MFA SMS transactional messages from Cognito. Users' phone numbers in Cognito User Pools are from various countries, but I only have budget to register one short code for one main country.
Is it possible to set up that dedicated registered short code to send the SMS for the "main country" phone numbers and SMS to another countries phone numbers will use the shared pools ?

1 Answer
0

It is possible to set up a dedicated registered short code to send SMS messages to phone numbers in the "main country".

  1. You can use the AWS SDKs and specify the short code you've registered for the "main country" using the attribute AWS.MM.SMS.OriginationNumber. You can also specify the origination number (short code) in the AWS Management Console when sending SMS messages.

  2. For phone numbers in countries other than the "main country," you can use a sender ID or any other origination number supported by those countries. Different countries have different regulations regarding SMS messaging, and some countries support the use of short codes, while others do not.

Below is the AWS documentation provides a list of countries supported by Amazon SNS for SMS messaging:

[+] https://docs.aws.amazon.com/sns/latest/dg/sns-supported-regions-countries.html

It's important to review the regulations and requirements for each country to ensure compliance when sending SMS messages.

Below is the AWS documentation provides guidance on how to send SMS messages using the AWS Management Console or the AWS SDKs:

[+] https://docs.aws.amazon.com/sns/latest/dg/sms_publish-to-phone.html#sms_publish_sdk

AWS
EXPERT
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.