Removes one or more egress rules from a VPC security group.
Declaration Syntax
C# |
public class RevokeSecurityGroupEgressRequest : EC2Request
Members
All Members | Constructors | Methods | Properties | ||
Icon | 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 |
ID of the VPC security group to modify.
| |
IpPermissions |
Set of IP permissions associated with the security group.
| |
IsSetGroupId()()()() |
Checks if GroupId property is set
| |
IsSetIpPermissions()()()() |
Checks if IpPermissions property is set
| |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
WithGroupId(String) | Obsolete.
Sets the ID of the VPC security group to modify.
| |
WithIpPermissions(array<IpPermissionSpecification>[]()[][]) | Obsolete.
Sets the IP permissions associated with the security group.
|
Remarks
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 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.
Inheritance Hierarchy
Object | ||
EC2Request | ||
RevokeSecurityGroupEgressRequest |