codestar-notifications:TagResource

Tagging

codestar-notifications:TagResource is a Tagging access-level action in the codestar-notifications service. Grants permission to attach resource tags to a notification rule resource ARN

Resource types

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

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

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

Related actions in codestar-notifications

View all codestar-notifications actions →