To create a new phone number override rule, you can use the AWS End User Messaging SMS console, the PutProtectConfigurationRuleSetNumberOverride action in the AWS End User Messaging SMS and voice v2 API, or the put-protect-configuration-rule-set-number-override command in the AWS CLI. This section shows how to create a phone number override rule using the AWS End User Messaging SMS console and the AWS CLI.
To create a phone number override rule using the AWS End User Messaging SMS console, follow these steps:
Open the AWS End User Messaging SMS console at https://console.aws.amazon.com/sms-voice/
. -
In the navigation pane, under Protect, choose Protect configuration and then choose the protect configuration to add a new phone number override rule to.
-
Choose the Rule overrides tab and in the Rules override section choose Add override.
-
In the Rule override details section, enter the following:
-
For Destination phone number enter the phone number to create the rule for. The phone number must start with a '+' and can't contain any spaces, hyphens, or parentheses. For example,
+1 (206) 555-0142
is not in the correct format, but+12065550142
is. -
For Override type choose either Always allow or Always block.
-
For Expiration date – optional choose a date for the rule expire or leave it blank for the rule to never expire.
-
-
Choose Add rule override.