ec2-describe-groups
ec2-describe-groups [GROUP ...]
Describes the current state of each GROUP specified on the command line. If no GROUPs are explicitly listed then all GROUPs owned by the current user are included in the output.
A table containing the following information is returned:
-
Output type identifier ("GROUP", "PERMISSION").
-
User ID of group owner.
-
Group name.
-
Description of the group.
-
Firewall rule.
Errors are displayed on stderr.
$
ec2-describe-groups websrv
GROUP 495219933132 websrv Web servers PERMISSION 495219933132 websrv ALLOWS tcp 80 80 FROM CIDR 0.0.0.0/0