Revokes ingress from a DBSecurityGroup for previously authorized IP ranges or EC2 or VPC security groups
Source:R/rds_operations.R
rds_revoke_db_security_group_ingress.RdRevokes ingress from a DBSecurityGroup for previously authorized IP ranges or EC2 or VPC security groups. Required parameters for this API are one of CIDRIP, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId).
See https://www.paws-r-sdk.com/docs/rds_revoke_db_security_group_ingress/ for full documentation.
Usage
rds_revoke_db_security_group_ingress(
DBSecurityGroupName,
CIDRIP = NULL,
EC2SecurityGroupName = NULL,
EC2SecurityGroupId = NULL,
EC2SecurityGroupOwnerId = NULL
)Arguments
- DBSecurityGroupName
[required] The name of the DB security group to revoke ingress from.
- CIDRIP
The IP range to revoke access from. Must be a valid CIDR range. If
CIDRIPis specified,EC2SecurityGroupName,EC2SecurityGroupIdandEC2SecurityGroupOwnerIdcan't be provided.- EC2SecurityGroupName
The name of the EC2 security group to revoke access from. For VPC DB security groups,
EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.- EC2SecurityGroupId
The id of the EC2 security group to revoke access from. For VPC DB security groups,
EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.- EC2SecurityGroupOwnerId
The 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, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.