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 can't authorize ingress from an EC2 security group in one AWS Region to an Amazon
RDS DB instance in another. You can't authorize ingress from a VPC security group
in one VPC to an Amazon RDS DB instance in another.
You can't authorize ingress from an EC2 security group in one AWS Region to an Amazon RDS DB instance in another. You can't 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.
For .NET Core and PCL this operation is only available in asynchronous form. Please refer to AuthorizeDBSecurityGroupIngressAsync.
public abstract AuthorizeDBSecurityGroupIngressResponse AuthorizeDBSecurityGroupIngress( AuthorizeDBSecurityGroupIngressRequest request )
Container for the necessary parameters to execute the AuthorizeDBSecurityGroupIngress service method.
|AuthorizationAlreadyExistsException||The specified CIDRIP or EC2 security group is already authorized for the specified DB security group.|
|AuthorizationQuotaExceededException||DB security group authorization quota has been reached.|
|DBSecurityGroupNotFoundException||DBSecurityGroupName does not refer to an existing DB security group.|
|InvalidDBSecurityGroupStateException||The state of the DB security group does not allow deletion.|
Supported in: 4.5, 4.0, 3.5
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms