sms-voice:SendDestinationNumberVerificationCode

Write

sms-voice:SendDestinationNumberVerificationCode is a Write access-level action in the sms-voice service. Grants permission to send a text or voice message containing a verification code to a destination phone number

Resource types

ARNs that sms-voice:SendDestinationNumberVerificationCode can be scoped to in an IAM policy.

arn:${Partition}:sms-voice:${Region}:${Account}:phone-number/${PhoneNumberId}
PhoneNumber
arn:${Partition}:sms-voice:${Region}:${Account}:pool/${PoolId}
Pool
arn:${Partition}:sms-voice:${Region}:${Account}:sender-id/${SenderId}/${IsoCountryCode}
SenderId

Condition keys

Keys you can use in the Condition block of a policy that grants sms-voice:SendDestinationNumberVerificationCode.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Dependent actions

To use sms-voice:SendDestinationNumberVerificationCode you may also need to grant:

Example IAM policy

A minimal policy that allows sms-voice:SendDestinationNumberVerificationCode. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowSmsvoiceSendDestinationNumberVerificationCode",
      "Effect": "Allow",
      "Action": "sms-voice:SendDestinationNumberVerificationCode",
      "Resource": "*"
    }
  ]
}

Related actions in sms-voice

View all sms-voice actions →