sns:SetTopicAttributes

Permissions management

sns:SetTopicAttributes is a Permissions management access-level action in the sns service. Grants permission to allow a topic owner to set an attribute of the topic to a new value

Resource types

ARNs that sns:SetTopicAttributes 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:SetTopicAttributes.

aws:ResourceTag/${TagKey} String

Filters access by tags associated with the resource

Dependent actions

To use sns:SetTopicAttributes you may also need to grant:

Example IAM policy

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

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

Related actions in sns

View all sns actions →