Enables ingress to a DBSecurityGroup using one of two forms of authorization
Source:R/rds_operations.R
rds_authorize_db_security_group_ingress.RdEnables 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.
Usage
rds_authorize_db_security_group_ingress(
DBSecurityGroupName,
CIDRIP = NULL,
EC2SecurityGroupName = NULL,
EC2SecurityGroupId = NULL,
EC2SecurityGroupOwnerId = NULL
)Arguments
- DBSecurityGroupName
[required] The name of the DB security group to add authorization to.
- CIDRIP
The IP range to authorize.
- EC2SecurityGroupName
Name of the EC2 security group to authorize. For VPC DB security groups,
EC2SecurityGroupIdmust be provided. Otherwise,EC2SecurityGroupOwnerIdand eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.- EC2SecurityGroupId
Id of the EC2 security group to authorize. For VPC DB security groups,
EC2SecurityGroupIdmust be provided. Otherwise,EC2SecurityGroupOwnerIdand eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.- EC2SecurityGroupOwnerId
Amazon Web Services account number of the owner of the EC2 security group specified in the
EC2SecurityGroupNameparameter. The Amazon Web Services access key ID isn't an acceptable value. For VPC DB security groups,EC2SecurityGroupIdmust be provided. Otherwise,EC2SecurityGroupOwnerIdand eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.