events:PutEvents is a Write access-level action in the events service. Grants permission to send custom events to Amazon EventBridge
ARNs that events:PutEvents can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants events:PutEvents.
Filters access by the detail type recorded in the system metadata of an event forwarded onto an event bus to PutEvents and PutRawEvents actions
Filters access by the source recorded in the system metadata of an event forwarded onto an event bus to PutEvents and PutRawEvents actions
Filters access by the content type declared on an event for PutRawEvents and for forwarded events authorized as PutEvents
Filters access by the literal string of the detail-type of the event to PutEvents and PutRule actions
Filters access to PutEvents and PutRawEvents by whether an event was forwarded from an event bus rather than published through a direct API call
Filters access by the AWS service or AWS partner event source that generated the event to PutEvents and PutRule actions, or by the configured source of an event source to the CreateEventSource and UpdateEventSource actions. Matches the literal string of the source field of the event
Filters access by tag-value associated with the resource to event bus and rule actions
A minimal policy that allows events:PutEvents. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowEventsPutEvents",
"Effect": "Allow",
"Action": "events:PutEvents",
"Resource": "*"
}
]
}