AWS SDK for .NET Documentation
RevokeSecurityGroupIngress Method (request)
AmazonAmazon.EC2AmazonEC2RevokeSecurityGroupIngress(RevokeSecurityGroupIngressRequest) Did this page help you?   Yes   No    Tell us about it...
Revokes permissions from a security group.
Declaration Syntax
request (RevokeSecurityGroupIngressRequest)
Revoke Security Group Ingress request
Return Value
Revoke Security Group Ingress Response from the service
The permissions used to revoke must be specified using the same values used to grant the permissions. Permissions are specified by IP protocol (TCP, UDP, or ICMP), the source of the request (by IP range or an Amazon EC2 user-group pair), the source and destination port ranges (for TCP and UDP), and the ICMP codes and types (for ICMP). Permission changes are quickly propagated to instances within the security group. However, depending on the number of instances in the group, a small delay is might occur.

Assembly: AWSSDK (Module: AWSSDK) Version: (