events:UpdateEventSource

Write

events:UpdateEventSource is a Write access-level action in the events service. Grants permission to update an event source

Resource types

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

arn:${Partition}:events:${Region}:${Account}:event-busv2/${EventBusName}/${OpaqueId}
event-busv2
arn:${Partition}:events:${Region}:${Account}:event-sourcev2/${SourceType}/${EventSourceName}/${OpaqueId} required
event-sourcev2

Condition keys

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

events:source ArrayOfString

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

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:UpdateEventSource. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in events

View all events actions →