| Did this page help you? Yes No Tell us about it... |
Revokes ingress to a DBSecurityGroup for previously authorized IP ranges or EC2 Security Groups.
rds-revoke-db-security-group-ingress
DBSecurityGroupName
[-s
(--ec2-security-group-id) ] value
[-g
(--ec2-security-group-name) ] value [-i
(--cidr-ip) value ] [-o
(--ec2-security-group-owner) value ] [General
Options]
| Name | Description | Required |
|---|---|---|
|
|
The name of the DB security group. This can also be passed
as a named parameter using Type: String Default: None Example: |
Yes |
|
|
Identifier of the EC2 Security Group to authorize. Type: String Default: None Constraints: This parameter must be specified if the DB Security Group is for a VPC. Example: |
No |
|
|
The name of the EC2 security group. Type: String Default: None Example: |
No |
|
|
The IP range to allow access. Type: String Constraints: Must be a valid Classless Inter-Domain Routing (CIDR) range, in the format ddd.ddd.ddd.ddd/dd. For more information, see CIDR Notation. Default: None Example: |
No |
The command returns a table with the following information:
Namethe security group name
Descriptionthe security group description
EC2 Group Namethe name of the EC2 security group/
EC2 Group IdIdentifier of the EC2 security group./
EC2 Owner IDthe owner of the EC2 security group
IP Rangethe CIDR range for the authorized Amazon RDS DB security group
Statusthe status of the authorization
This example revokes authorization for an IP range
PROMPT> rds-revoke-db-security-group-ingress Default --cidr-ip 192.168.100.100/0
This example revokes authorization for an Amazon EC2 security group.
PROMPT> rds-revoke-db-security-group-ingress Default --ec2-security-group-name secgrp --owner-id 666666666666