events:PutRule is a Write access-level action in the events service. Grants permission to create or updates rules
ARNs that events:PutRule can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants events:PutRule.
Filters access by the allowed set of values for each of the tags to event bus and rule actions
Filters access by the tags in the request to event bus and rule actions
Filters access by AWS services. If a rule is created by an AWS service on your behalf, the value is the principal name of the service that created the rule
Filters access by the account the rule was created in to rule actions
Filters access by the literal string of the detail-type of the event to PutEvents and PutRule actions
Filters access by the literal string for the detail.eventTypeCode field of the event to PutRule actions
Filters access by the literal string for the detail.service field of the event to PutRule actions
Filters access by the literal string for the detail.useridentity.principalid field of the event to PutRule actions
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:PutRule. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowEventsPutRule",
"Effect": "Allow",
"Action": "events:PutRule",
"Resource": "*"
}
]
}