sns:CreateSMSSandboxPhoneNumber is a Write access-level action in the sns service. Grants permission to add a destination phone number and send a one-time password (OTP) to that phone number for an AWS account
This action does not support resource-level permissions; use "Resource": "*" in your policy.
No condition keys are documented for this action.
A minimal policy that allows sns:CreateSMSSandboxPhoneNumber. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowSnsCreateSMSSandboxPhoneNumber",
"Effect": "Allow",
"Action": "sns:CreateSMSSandboxPhoneNumber",
"Resource": "*"
}
]
}