Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Amazon SNS access policy

Focus mode
Amazon SNS access policy - AWS End User Messaging SMS

Access to an Amazon SNS topic is controlled by a resource policy attached to the Amazon SNS topic, this is also called an access policy. For more information about Amazon SNS access polices, see Identity and access management in the Amazon SNS Developer Guide.

Note

If your Amazon SNS topic has server-side encryption enabled with AWS Key Management Service then also add the policy to the associated symmetric encryption customer managed key.

Update the access policy with the following statement to permit AWS End User Messaging SMS to publish to the Amazon SNS topic.

  • Replace 111122223333 with the unique ID for your AWS account.

  • Replace TopicName with the name of the Amazon SNS topic.

  • Replace Region with the AWS Region that contains the Amazon SNS topic and configuration set.

  • Replace ConfigSetName with the name of the configuration set.

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Service": "sms-voice.amazonaws.com" }, "Action": "sns:Publish", "Resource": "arn:aws:sns:Region:111122223333:TopicName", "Condition": { "StringEquals": { "aws:SourceAccount": "accountId" }, "ArnLike": { "aws:SourceArn": "arn:aws:sms-voice:Region:111122223333:configuration-set/ConfigSetName" } } } ] }

Access policy for encrypted Amazon SNS topics

If your Amazon SNS topic has server-side encryption enabled with AWS Key Management Service, add the following policy to the associated symmetric encryption customer managed key. You must add the policy to a customer managed key because you cannot modify the AWS managed key for Amazon SNS.

{ "Version": "2012-10-17", "Id": "example-ID", "Statement": [ { "Sid": "example-statement-ID", "Effect": "Allow", "Principal": { "Service": "sms-voice.amazonaws.com" }, "Action": [ "kms:GenerateDataKey", "kms:Decrypt" ], "Resource": "*" } ] }
PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.