codestar-notifications:ListTagsForResource

List

codestar-notifications:ListTagsForResource is a List access-level action in the codestar-notifications service. Grants permission to list the tags attached to a notification rule resource ARN

Resource types

ARNs that codestar-notifications:ListTagsForResource 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:ListTagsForResource.

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:ListTagsForResource. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in codestar-notifications

View all codestar-notifications actions →