revoke-security-group-ingress — AWS CLI 2.35.21 Command Reference
Use the AWS CLI 2.35.21 to run the ec2 revoke-security-group-ingress command.