This action applies only to security groups in a VPC. It doesn't work with standard (EC2) security groups.
For information about Amazon Virtual Private Cloud and VPC security groups, go to the Amazon Virtual
Private Cloud User Guide.
The action removes one or more egress rules from a VPC security group. The values that you specify in
the revoke request (e.g., ports, etc.) must match the existing rule's values in order for the rule to be
revoked.
Each rule consists of the protocol, and the CIDR range or destination 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.ModelAssembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class RevokeSecurityGroupEgressRequest
Public Class RevokeSecurityGroupEgressRequest
public ref class RevokeSecurityGroupEgressRequest
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| RevokeSecurityGroupEgressRequest()()()() | Initializes a new instance of the RevokeSecurityGroupEgressRequest class | |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| GroupId |
Gets and sets the GroupId property.
ID of the VPC security group to modify.
| |
| IpPermissions |
Gets and sets the IpPermissions property.
Set of IP permissions associated with the
security group.
| |
| IsSetGroupId()()()() |
Checks if GroupId property is set
| |
| IsSetIpPermissions()()()() |
Checks if IpPermissions property is set
| |
| ToString()()()() | (Inherited from Object.) | |
| WithGroupId(String) |
Sets the GroupId property
| |
| WithIpPermissions(array<IpPermissionSpecification>[]()[][]) |
Sets the IpPermissions property
|