AWS SDK for .NET Documentation
AuthorizeDBSecurityGroupIngress Method (authorizeDBSecurityGroupIngressRequest)
Amazon ► Amazon.RDS ► AmazonRDSClient ► AuthorizeDBSecurityGroupIngress(AuthorizeDBSecurityGroupIngressRequest)
Did this page help you? Yes No Tell us about it...

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 .

Declaration Syntax

C#

    public AuthorizeDBSecurityGroupIngressResponse AuthorizeDBSecurityGroupIngress(
    	AuthorizeDBSecurityGroupIngressRequest authorizeDBSecurityGroupIngressRequest
    )

Parameters

authorizeDBSecurityGroupIngressRequest (AuthorizeDBSecurityGroupIngressRequest)
  Container for the necessary parameters to execute the AuthorizeDBSecurityGroupIngress service method on AmazonRDS.

Return Value
The response from the AuthorizeDBSecurityGroupIngress service method, as returned by AmazonRDS.
Exceptions

Exception | Condition
--- | ---
DBSecurityGroupNotFoundException |
InvalidDBSecurityGroupStateException |
AuthorizationAlreadyExistsException |
AuthorizationQuotaExceededException |

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)