AWS SDK Version 2 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.

.NET Framework 4.5
 
Container for the parameters to the AuthorizeDBSecurityGroupIngress operation. Enables ingress to a DBSecurityGroup using one of two forms of authorization. First, EC2 or VPC security groups can be added to the DBSecurityGroup if the application using the database is running on EC2 or VPC instances. Second, IP ranges are available if the application accessing your database is running on the Internet. Required parameters for this API are one of CIDR range, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId for non-VPC). You cannot authorize ingress from an EC2 security group in one region to an Amazon RDS DB instance in another. You cannot authorize ingress from a VPC security group in one VPC to an Amazon RDS DB instance in another.

For an overview of CIDR ranges, go to the Wikipedia Tutorial.

Inheritance Hierarchy

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

Namespace: Amazon.RDS.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class AuthorizeDBSecurityGroupIngressRequest : AmazonRDSRequest
         IRequestEvents

The AuthorizeDBSecurityGroupIngressRequest type exposes the following members

Constructors

NameDescription
Public Method AuthorizeDBSecurityGroupIngressRequest() Empty constructor used to set properties independently even when a simple constructor is available
Public Method AuthorizeDBSecurityGroupIngressRequest(string) Instantiates AuthorizeDBSecurityGroupIngressRequest with the parameterized properties

Properties

NameTypeDescription
Public Property CIDRIP System.String Gets and sets the property CIDRIP.

The IP range to authorize.

Public Property DBSecurityGroupName System.String Gets and sets the property DBSecurityGroupName.

The name of the DB security group to add authorization to.

Public Property EC2SecurityGroupId System.String Gets and sets the property EC2SecurityGroupId.

Id of the EC2 security group to authorize. 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.

Name of the EC2 security group to authorize. 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.

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 Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1