Describes the current state of each specified security group. If no security groups are explicitly listed, Amazon EC2 displays all security groups owned by the current user.
Amazon EC2 returns a table that contains the following information:
Output type identifier ("GROUP", "PERMISSION")
User ID of security group owner
Security group name
Description of the security group
Firewall rule
Amazon EC2 displays errors on stderr.
This example displays the state of the websrv security group.
$ec2-describe-group websrvGROUP 495219933132 websrv Web servers PERMISSION 495219933132 websrv ALLOWS tcp 80 80 FROM CIDR 0.0.0.0/0