AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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.
Namespace: Amazon.CloudWatchEvents.Model
Assembly: AWSSDK.CloudWatchEvents.dll
Version: 3.x.y.z
public class RemovePermissionRequest : AmazonCloudWatchEventsRequest IAmazonWebServiceRequest
The RemovePermissionRequest type exposes the following members
Name | Description | |
---|---|---|
RemovePermissionRequest() |
Name | Type | Description | |
---|---|---|---|
EventBusName | System.String |
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. |
|
RemoveAllPermissions | System.Boolean |
Gets and sets the property RemoveAllPermissions. Specifies whether to remove all permissions. |
|
StatementId | System.String |
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. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5