events:TagResource

Tagging

events:TagResource is a Tagging access-level action in the events service. Grants permission to add a tag to an Amazon EventBridge resource

Resource types

ARNs that events:TagResource can be scoped to in an IAM policy.

arn:${Partition}:events:${Region}:${Account}:event-bus/${EventBusName}
event-bus
arn:${Partition}:events:${Region}:${Account}:rule/${EventBusName}/${RuleName}
rule-on-custom-event-bus
arn:${Partition}:events:${Region}:${Account}:rule/${RuleName}
rule-on-default-event-bus

Condition keys

Keys you can use in the Condition block of a policy that grants events:TagResource.

aws:ResourceTag/${TagKey} String

Filters access by tag-value associated with the resource to event bus and rule actions

Example IAM policy

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

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

Related actions in events

View all events actions →