aws rds revoke-db-security-group-ingress
Revokes ingress from a DBSecurityGroup for previously authorized IP ranges or EC2 or VPC security groups. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--cidripThe IP range to revoke access from.--db-security-group-nameThe name of the DB security group to revoke ingress from.--ec2-security-group-idThe id of the EC2 security group to revoke access from.--ec2-security-group-nameThe name of the EC2 security group to revoke access from.--ec2-security-group-owner-idThe Amazon Web Services account number of the owner of the EC2 security group specified in the EC2SecurityGroupName parameter.