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 is might occur.

Namespace: Amazon.EC2.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class RevokeSecurityGroupIngressRequest
Public Class RevokeSecurityGroupIngressRequest
public ref class RevokeSecurityGroupIngressRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
RevokeSecurityGroupIngressRequest()()()()
Initializes a new instance of the RevokeSecurityGroupIngressRequest class
CidrIp
Gets and sets the CidrIp property. CIDR range.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
FromPort
Gets and sets the FromPort property. Start of port range for the TCP and UDP protocols, or an ICMP type number. An ICMP type number of -1 indicates a wildcard (i.e., any ICMP type number).
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
Gets and sets the GroupId property. Id of the standard (EC2) or VPC security group to modify. Conditional The group must belong to your account.
GroupName
Gets and sets the GroupName property. Name of the group to modify.
IpPermissions
Gets and sets the IpPermissions property. Set of IP permissions associated with the security group.
IpProtocol
Gets and sets the IpProtocol property. IP protocol. Valid Values: tcp | udp | icmp
IsSetCidrIp()()()()
Checks if CidrIp property is set
IsSetFromPort()()()()
Checks if FromPort property is set
IsSetGroupId()()()()
Checks if GroupId property is set
IsSetGroupName()()()()
Checks if GroupName property is set
IsSetIpPermissions()()()()
Checks if IpPermissions property is set
IsSetIpProtocol()()()()
Checks if IpProtocol property is set
IsSetSourceSecurityGroupName()()()()
Checks if SourceSecurityGroupName property is set
IsSetSourceSecurityGroupOwnerId()()()()
Checks if SourceSecurityGroupOwnerId property is set
IsSetToPort()()()()
Checks if ToPort property is set
IsSetUserId()()()()
Checks if UserId property is set
SourceSecurityGroupName
Gets and sets the SourceSecurityGroupName property. Name of the security group. Cannot be used when specifying a CIDR IP address.
SourceSecurityGroupOwnerId
Gets and sets the SourceSecurityGroupOwnerId property. AWS User ID of an account. Cannot be used when specifying a CIDR IP address.
ToPort
Gets and sets the ToPort property. End of port range for the TCP and UDP protocols, or an ICMP code. An ICMP code of -1 indicates a wildcard (i.e., any ICMP code).
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
UserId
Gets and sets the UserId property. AWS Access Key ID.
WithCidrIp(String)
Sets the CidrIp property
WithFromPort(Decimal)
Sets the FromPort property
WithGroupId(String)
Sets the GroupId property
WithGroupName(String)
Sets the GroupName property
WithIpPermissions(array<IpPermissionSpecification>[]()[][])
Sets the IpPermissions property
WithIpProtocol(String)
Sets the IpProtocol property
WithSourceSecurityGroupName(String)
Sets the SourceSecurityGroupName property
WithSourceSecurityGroupOwnerId(String)
Sets the SourceSecurityGroupOwnerId property
WithToPort(Decimal)
Sets the ToPort property
WithUserId(String)
Sets the UserId property

Inheritance Hierarchy

System..::..Object
  Amazon.EC2.Model..::..RevokeSecurityGroupIngressRequest

See Also