sns:ConfirmSubscription

Write

sns:ConfirmSubscription is a Write access-level action in the sns service. Grants permission to verify an endpoint owner's intent to receive messages by validating the token sent to the endpoint by an earlier Subscribe action

Resource types

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

aws:ResourceTag/${TagKey} String

Filters access by tags associated with the resource

Example IAM policy

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

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

Related actions in sns

View all sns actions →