AWS SDK for .NET Documentation
RevokeSecurityGroupEgress Method (request)
AmazonAmazon.EC2AmazonEC2RevokeSecurityGroupEgress(RevokeSecurityGroupEgressRequest) Did this page help you?   Yes   No    Tell us about it...
Removes one or more egress rules from a VPC security group.
Declaration Syntax
request (RevokeSecurityGroupEgressRequest)
Revoke Security Group Egress request
Return Value
Revoke Security Group Egress Response from the service
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.

Assembly: AWSSDK (Module: AWSSDK) Version: (