Revokes permissions from a security group.

C# |
public class RevokeSecurityGroupIngressRequest : EC2Request

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | RevokeSecurityGroupIngressRequest()()()() | Initializes a new instance of the RevokeSecurityGroupIngressRequest class |
![]() | CidrIp |
CIDR range.
|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | FromPort |
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 |
Id of the standard (EC2) or VPC security group to modify.
The group must belong to your account.
|
![]() | GroupName |
Name of the group to modify.
|
![]() | IpPermissions |
Set of IP permissions associated with the security group.
|
![]() | IpProtocol |
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 |
Name of the security group.
Cannot be used when specifying a CIDR IP address.
|
![]() | SourceSecurityGroupOwnerId |
AWS User ID of an account.
Cannot be used when specifying a CIDR IP address.
|
![]() | ToPort |
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 |
AWS Access Key ID.
|
![]() | WithCidrIp(String) | Obsolete.
Sets the CIDR range.
|
![]() | WithFromPort(Decimal) | Obsolete.
Sets the start of port range for the TCP and UDP protocols, or an ICMP type
number.
|
![]() | WithGroupId(String) | Obsolete.
Sets the id of the standard (EC2) or VPC security group to modify.
|
![]() | WithGroupName(String) | Obsolete.
Sets the name of the group to modify.
|
![]() | WithIpPermissions(array<IpPermissionSpecification>[]()[][]) | Obsolete.
Sets the IP permissions associated with the security group.
|
![]() | WithIpProtocol(String) | Obsolete.
Sets the IP protocol.
|
![]() | WithSourceSecurityGroupName(String) | Obsolete.
Sets the name of the security group.
|
![]() | WithSourceSecurityGroupOwnerId(String) | Obsolete.
Sets the AWS User ID of an account.
|
![]() | WithToPort(Decimal) | Obsolete.
Sets the end of port range for the TCP and UDP protocols, or an ICMP code.
|
![]() | WithUserId(String) | Obsolete.
Sets the AWS Access Key ID.
|

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.

Object | ||
![]() | EC2Request | |
![]() | RevokeSecurityGroupIngressRequest |