Option Definition Required? Example
-u
SOURCE_GROUP_USER
The owner of a group specified us-
ing -o. If this is not specified, all
groups will refer to the current
user. If specified more than once,
there must be exactly one -u per -
o and each user will be mapped to
the corresponding group.
No -u 495219933132
-o SOURCE_GROUP The network source from which
traffic is to be revoked specified as
a security Group. See the descrip-
tion of the -u parameter for group
owner information.
No -o outsideworld
-s SOURCE_SUBNET The network source from which
traffic is to be revoked specified as
a CIDR Subnet range.
No -s 205.192.8.45/24
EXAMPLE
$ ec2-revoke websrv -P tcp -p 80 -s 205.192.0.0/16
GROUP websrv ""
PERMISSION websrv ALLOWS tcp 80 80 FROM CIDR 205.192.0.0/16
SEE ALSO
RevokeSecurityGroupIngress
ec2-add-group
ec2-describe-groups
ec2-delete-group
ec2-authorize
Amazon EC2
Developer Guide
43
Using the SOAP API
Amazon EC2
Developer Guide
44
Previous Page Next Page