Returns information about security groups that you own.
ec2-describe-group
[
group ...]
| Name | Description | Required |
|---|---|---|
|
|
Name of the security group. Type: String Default: Describes all groups within the account. Example: websrv |
No |
The command 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 returns information about two security groups that are configured for the account.
PROMPT>ec2-describe-groupGROUP AIDADH4IGTRXXKCD WebServers Web ServersGROUP AIDADH4IGTRXXKCD RangedPortsBySource Group A