Describe Security Groups
GET {{aws_ec2_base_url}}/?DryRun&Filter.N&GroupId.N&GroupName.N&MaxResults&NextToken&Action=DescribeSecurityGroups
Describes the specified security groups or all of your security groups.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
DryRun | null | Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. | |
Filter.N | null | The filters. If using multiple filters for rules, the results include security groups for which any combination of rules - not necessarily a single rule - match all filters. | |
GroupId.N | null | The IDs of the security groups. Required for security groups in a nondefault VPC. | |
GroupName.N | null | [EC2-Classic and default VPC only] The names of the security groups. You can specify either the security group name or the security group ID. For security groups in a nondefault VPC, use the group-name filter to describe security groups by name. | |
MaxResults | null | The maximum number of results to return in a single call. To retrieve the remaining results, make another request with the returned NextToken value. This value can be between 5 and 1000. If this parameter is not specified, then all results are returned. | |
NextToken | null | The token to request the next page of results. | |
Action | string |