AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
A security group is for use with instances either in the EC2-Classic platform or in a specific VPC. For more information, see Amazon EC2 Security Groups in the Amazon Elastic Compute Cloud User Guide and Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class DescribeSecurityGroupsRequest : AmazonEC2Request IRequestEvents
The DescribeSecurityGroupsRequest type exposes the following members
Name | Description | |
---|---|---|
DescribeSecurityGroupsRequest() |
Name | Type | Description | |
---|---|---|---|
Filters | System.Collections.Generic.List<Amazon.EC2.Model.Filter> |
Gets and sets the property Filters.
One or more 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.
|
|
GroupIds | System.Collections.Generic.List<System.String> |
Gets and sets the property GroupIds.
One or more security group IDs. Required for security groups in a nondefault VPC. Default: Describes all your security groups. |
|
GroupNames | System.Collections.Generic.List<System.String> |
Gets and sets the property GroupNames.
[EC2-Classic and default VPC only] One or more security group names. You can specify
either the security group name or the security group ID. For security groups in a
nondefault VPC, use the Default: Describes all your security groups. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8