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).

NOTE: 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.

Namespace: Amazon.RDS.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class AuthorizeDBSecurityGroupIngressRequest : AmazonWebServiceRequest
Public Class AuthorizeDBSecurityGroupIngressRequest _
	Inherits AmazonWebServiceRequest
public ref class AuthorizeDBSecurityGroupIngressRequest : public AmazonWebServiceRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
AuthorizeDBSecurityGroupIngressRequest()()()()
Initializes a new instance of the AuthorizeDBSecurityGroupIngressRequest class
CIDRIP
The IP range to authorize.
DBSecurityGroupName
The name of the DB Security Group to add authorization to.
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.
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.
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.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WithCIDRIP(String)
Sets the CIDRIP property
WithDBSecurityGroupName(String)
Sets the DBSecurityGroupName property
WithEC2SecurityGroupId(String)
Sets the EC2SecurityGroupId property
WithEC2SecurityGroupName(String)
Sets the EC2SecurityGroupName property
WithEC2SecurityGroupOwnerId(String)
Sets the EC2SecurityGroupOwnerId property

Inheritance Hierarchy

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

See Also