AmazonEC2Client.RevokeSecurityGroupIngress Method (RevokeSecurityGroupIngressRequest)

.NET Framework 3.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...

The RevokeSecurityGroupIngress operation revokes permissions from a security group. 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 might occur.

Namespace: Amazon.EC2
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public virtual RevokeSecurityGroupIngressResponse RevokeSecurityGroupIngress(
         RevokeSecurityGroupIngressRequest revokeSecurityGroupIngressRequest
)

Parameters

revokeSecurityGroupIngressRequest
Type: Amazon.EC2.Model.RevokeSecurityGroupIngressRequest

Container for the necessary parameters to execute the RevokeSecurityGroupIngress service method on AmazonEC2.

Version Information

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