AWS SDK for .NET Documentation
DescribeSecurityGroups Method (request)
Amazon ► Amazon.EC2 ► AmazonEC2 ► DescribeSecurityGroups(DescribeSecurityGroupsRequest)
Did this page help you? Yes No Tell us about it...
Returns information about security groups that you own.
Declaration Syntax

C#

    DescribeSecurityGroupsResponse DescribeSecurityGroups(
    	DescribeSecurityGroupsRequest request
    )

Parameters

request (DescribeSecurityGroupsRequest)
  Describe Security Groups request

Return Value
Describe Security Groups Response from the service
Remarks
If you specify security group names, information about those security group is returned. Otherwise, information for all security group is returned. If you specify a group that does not exist, a fault is returned.
Exceptions

Exception | Condition
--- | ---
WebException |
AmazonEC2Exception |

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)