AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CloudWatchEvents.AmazonCloudWatchEventsRequest
      Amazon.CloudWatchEvents.Model.RemovePermissionRequest

Namespace: Amazon.CloudWatchEvents.Model
Assembly: AWSSDK.CloudWatchEvents.dll
Version: 3.x.y.z

Syntax

C#
public class RemovePermissionRequest : AmazonCloudWatchEventsRequest
         IAmazonWebServiceRequest

The RemovePermissionRequest type exposes the following members

Constructors

NameDescription
Public Method RemovePermissionRequest()

Properties

NameTypeDescription
Public Property 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.

Public Property RemoveAllPermissions System.Boolean

Gets and sets the property RemoveAllPermissions.

Specifies whether to remove all permissions.

Public Property 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.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5