Skip to content

Remove Permission

eventbridge_remove_permission R Documentation

Revokes the permission of another Amazon Web Services account to be able to put events to the specified event bus

Description

Revokes the permission of another Amazon Web Services account to be able to put events to the specified event bus. Specify the account to revoke by the StatementId value that you associated with the account when you granted it permission with put_permission. You can find the StatementId by using describe_event_bus.

Usage

eventbridge_remove_permission(StatementId, RemoveAllPermissions,
  EventBusName)

Arguments

StatementId

The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.

RemoveAllPermissions

Specifies whether to remove all permissions.

EventBusName

The name of the event bus to revoke permissions for. If you omit this, the default event bus is used.

Value

An empty list.

Request syntax

svc$remove_permission(
  StatementId = "string",
  RemoveAllPermissions = TRUE|FALSE,
  EventBusName = "string"
)