Name

ec2-describe-group

Synopsis

ec2-describe-group [group1 [...groupN]]

Lists the information associated with the specified security groups. If no groups are specified, then all groups associated with the account will be listed.

Examples

# SHOW ALL GROUPS
$ ec2-describe-group
GROUP mydmz DMZ
PERMISSION    mydmz    ALLOWS    tcp    80    80    FROM    CIDR    0.0.0.0/0
GROUP myapp App
PERMISSION    myapp    ALLOWS    all    FROM    USER    999999999999 GRPNAME mydmz

# SHOW A SPECIFIC GROUP
$ ec2-describe-group mydmz
PERMISSION    mydmz    ALLOWS    tcp    80    80    FROM    CIDR    0.0.0.0/0

Get Cloud Application Architectures now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.