events:DeleteResourcePolicy

Permissions management

events:DeleteResourcePolicy is a Permissions management access-level action in the events service. Grants permission to delete a resource policy attached to an event bus

Resource types

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

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

Condition keys

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

events:PolicyName String

Filters access by the name of the resource policy specified in the request to resource policy actions

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

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

Related actions in events

View all events actions →