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 RevokeDBSecurityGroupIngress operation. Revokes ingress from a DBSecurityGroup for previously authorized IP ranges or EC2 or VPC Security Groups. Required parameters for this API are one of CIDRIP, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId).

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.RDS.AmazonRDSRequest
      Amazon.RDS.Model.RevokeDBSecurityGroupIngressRequest

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

Syntax

C#
public class RevokeDBSecurityGroupIngressRequest : AmazonRDSRequest
         IAmazonWebServiceRequest

The RevokeDBSecurityGroupIngressRequest type exposes the following members

Constructors

NameDescription
Public Method RevokeDBSecurityGroupIngressRequest()

Empty constructor used to set properties independently even when a simple constructor is available

Public Method RevokeDBSecurityGroupIngressRequest(string)

Instantiates RevokeDBSecurityGroupIngressRequest with the parameterized properties

Properties

NameTypeDescription
Public Property CIDRIP System.String

Gets and sets the property CIDRIP.

The IP range to revoke access from. Must be a valid CIDR range. If CIDRIP is specified, EC2SecurityGroupName, EC2SecurityGroupId and EC2SecurityGroupOwnerId cannot be provided.

Public Property DBSecurityGroupName System.String

Gets and sets the property DBSecurityGroupName.

The name of the DB security group to revoke ingress from.

Public Property EC2SecurityGroupId System.String

Gets and sets the property EC2SecurityGroupId.

The id of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

Public Property EC2SecurityGroupName System.String

Gets and sets the property EC2SecurityGroupName.

The name of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

Public Property EC2SecurityGroupOwnerId System.String

Gets and sets the property EC2SecurityGroupOwnerId.

The AWS Account Number of the owner of the EC2 security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

Version Information

.NET Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms