Class RemovePermissionRequest
- Namespace
- Amazon.EventBridge.Model
- Assembly
- AWSSDK.EventBridge.dll
Container for the parameters to the RemovePermission operation.
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 PutPermission
.
You can find the StatementId
by using DescribeEventBus.
public class RemovePermissionRequest : AmazonEventBridgeRequest
- Inheritance
-
RemovePermissionRequest
Constructors
RemovePermissionRequest()
public RemovePermissionRequest()
Properties
EventBusName
Gets and sets the property EventBusName.
The name of the event bus to revoke permissions for. If you omit this, the default event bus is used.
public string EventBusName { get; set; }
Property Value
RemoveAllPermissions
Gets and sets the property RemoveAllPermissions.
Specifies whether to remove all permissions.
public bool RemoveAllPermissions { get; set; }
Property Value
StatementId
Gets and sets the property StatementId.
The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.
public string StatementId { get; set; }