AWS SDK Version 2 for .NET
API Reference

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.

.NET Framework 4.5
 
Removes one or more egress rules from a security group for EC2-VPC. The values that you specify in the revoke request (for example, ports) must match the existing rule's values for the rule to be revoked.

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
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public abstract RevokeSecurityGroupEgressResponse RevokeSecurityGroupEgress(
         RevokeSecurityGroupEgressRequest request
)

Parameters

request
Type: Amazon.EC2.Model.RevokeSecurityGroupEgressRequest

Container for the necessary parameters to execute the RevokeSecurityGroupEgress service method.

Return Value
Type: Amazon.EC2.Model.RevokeSecurityGroupEgressResponse
The response from the RevokeSecurityGroupEgress service method, as returned by EC2.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5