events:PutRawEvents is a Write access-level action in the events service. Grants permission to publish raw-format events with custom content types, metadata, binary payloads, and FIFO ordering to Amazon EventBridge
ARNs that events:PutRawEvents can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants events:PutRawEvents.
Filters access by a metadata key-value pair on the published event to PutRawEvents actions, or by the exact-match values declared for that key in a subscriber's metadata filter to CreateSubscriber and UpdateSubscriber actions
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 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 tag-value associated with the resource to event bus and rule actions
A minimal policy that allows events:PutRawEvents. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowEventsPutRawEvents",
"Effect": "Allow",
"Action": "events:PutRawEvents",
"Resource": "*"
}
]
}