sns:AddPermission

Permissions management

sns:AddPermission is a Permissions management access-level action in the sns service. Grants permission to add a statement to a topic's access control policy, granting access for the specified AWS accounts to the specified actions

Resource types

ARNs that sns:AddPermission can be scoped to in an IAM policy.

arn:${Partition}:sns:${Region}:${Account}:${TopicName}
topic

Condition keys

Keys you can use in the Condition block of a policy that grants sns:AddPermission.

aws:ResourceTag/${TagKey} String

Filters access by tags associated with the resource

Example IAM policy

A minimal policy that allows sns:AddPermission. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowSnsAddPermission",
      "Effect": "Allow",
      "Action": "sns:AddPermission",
      "Resource": "*"
    }
  ]
}

Related actions in sns

View all sns actions →