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).
See https://www.paws-r-sdk.com/docs/rds_authorize_db_security_group_ingress/ for full documentation.
rds_authorize_db_security_group_ingress(
DBSecurityGroupName,
CIDRIP = NULL,
EC2SecurityGroupName = NULL,
EC2SecurityGroupId = NULL,
EC2SecurityGroupOwnerId = NULL
)
[required] The name of the DB security group to add authorization to.
The IP range to authorize.
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.
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.
Amazon Web Services account number of the owner of the EC2 security
group specified in the EC2SecurityGroupName
parameter. The Amazon Web
Services access key ID isn't an acceptable value. For VPC DB security
groups, EC2SecurityGroupId
must be provided. Otherwise,
EC2SecurityGroupOwnerId
and either EC2SecurityGroupName
or
EC2SecurityGroupId
must be provided.