codestar-notifications:Unsubscribe

Write

codestar-notifications:Unsubscribe is a Write access-level action in the codestar-notifications service. Grants permission to remove an association between a notification rule and an Amazon SNS topic

Resource types

ARNs that codestar-notifications:Unsubscribe can be scoped to in an IAM policy.

arn:${Partition}:codestar-notifications:${Region}:${Account}:notificationrule/${NotificationRuleId}
notificationrule

Condition keys

Keys you can use in the Condition block of a policy that grants codestar-notifications:Unsubscribe.

aws:ResourceTag/${TagKey} String

Filters actions based on tag key-value pairs attached to the resource

Example IAM policy

A minimal policy that allows codestar-notifications:Unsubscribe. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCodestarnotificationsUnsubscribe",
      "Effect": "Allow",
      "Action": "codestar-notifications:Unsubscribe",
      "Resource": "*"
    }
  ]
}

Related actions in codestar-notifications

View all codestar-notifications actions →