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.
Each rule consists of the protocol and the CIDR range or source security group. For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code.
Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class RevokeSecurityGroupIngressRequest : AmazonEC2Request IRequestEvents
The RevokeSecurityGroupIngressRequest type exposes the following members
Name | Description | |
---|---|---|
RevokeSecurityGroupIngressRequest() | Empty constructor used to set properties independently even when a simple constructor is available | |
RevokeSecurityGroupIngressRequest(string, List<IpPermission>) |
Name | Type | Description | |
---|---|---|---|
GroupId | System.String |
Gets and sets the property GroupId.
The ID of the security group. Required for a security group in a nondefault VPC. |
|
GroupName | System.String |
Gets and sets the property GroupName.
[EC2-Classic, default VPC] The name of the security group. |
|
IpPermissions | System.Collections.Generic.List<Amazon.EC2.Model.IpPermission> |
Gets and sets the property IpPermissions.
A set of IP permissions. You can't specify a source security group and a CIDR IP address range. |
.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