AWS Identity and Access Management
User Guide

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

Actions, Resources, and Condition Keys for Amazon EventBridge

Amazon EventBridge (service prefix: events) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.

References:

Actions Defined by Amazon EventBridge

Amazon EventBridge has no API operations that can be used in the Actions element of an IAM policy statement. To allow access to Amazon EventBridge, specify “Action”: “events:*” in your policy.

Resources Defined by Amazon EventBridge

The following resource types are defined by this service and can be used in the Resource element of IAM permission policy statements. Each action in the Actions table identifies the resource types that can be specified with that action. A resource type can also define which condition keys you can include in a policy. These keys are displayed in the last column of the table. For details about the columns in the following table, see The Resource Types Table.

Resource Types ARN Condition Keys
event-source arn:${Partition}:events:${Region}::event-source/${EventSourceName}
event-bus arn:${Partition}:events:${Region}:${Account}:event-bus/${EventBusName}
rule arn:${Partition}:events:${Region}:${Account}:rule/[${EventBusName}/]${RuleName}

aws:ResourceTag/${TagKey}

Condition Keys for Amazon EventBridge

Amazon EventBridge defines the following condition keys that can be used in the Condition element of an IAM policy. You can use these keys to further refine the conditions under which the policy statement applies. For details about the columns in the following table, see The Condition Keys Table.

To view the global condition keys that are available to all services, see Available Global Condition Keys in the IAM Policy Reference.

Condition Keys Description Type
aws:RequestTag/${TagKey} Filters actions based on the allowed set of values for each of the tags String
aws:ResourceTag/${TagKey} Filters actions based on tag-value associated with the resource String
aws:TagKeys Filters actions based on the presence of mandatory tags in the request String
events:TargetArn The ARN of a target that can be put to a rule. ARN
events:detail-type Matches the literal string of the detail-type filed of the event. String
events:detail.eventTypeCode Matches the literal string for the detail.eventTypeCode field of the event. String
events:detail.service Matches the literal string for the detail.service field of the event. String
events:detail.userIdentity.principalId Matches the literal string for the detail.useridentity.principalid field of the event. String
events:source The AWS service or AWS partner event source that generated the event. Matches the literal string of the source field of the event. String