AWS SDK for .NET Documentation
IpPermission Class
AmazonAmazon.EC2.ModelIpPermission Did this page help you?   Yes   No    Tell us about it...
IP Permission
Declaration Syntax
C#
public class IpPermission
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
IpPermission()()()()
Initializes a new instance of the IpPermission class

Equals(Object)
Determines whether the specified Object is equal to the current 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.)
IpProtocol
IP protocol. Valid Values: tcp | udp | icmp

IpRange
A list of IP ranges.

IsSetFromPort()()()()
Checks if FromPort property is set

IsSetIpProtocol()()()()
Checks if IpProtocol property is set

IsSetIpRange()()()()
Checks if IpRange property is set

IsSetToPort()()()()
Checks if ToPort property is set

IsSetUserIdGroupPair()()()()
Checks if UserIdGroupPair property is set

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.)
UserIdGroupPair
List of security group and user ID pairs.

WithFromPort(Decimal) Obsolete.
Sets the start of port range for the TCP and UDP protocols, or an ICMP type number.

WithIpProtocol(String) Obsolete.
Sets the IP protocol.

WithIpRange(array<String>[]()[][]) Obsolete.
Sets the list of IP ranges.

WithToPort(Decimal) Obsolete.
Sets the end of port range for the TCP and UDP protocols, or an ICMP code.

WithUserIdGroupPair(array<UserIdGroupPair>[]()[][]) Obsolete.
Sets the list of security group and user ID pairs.

Inheritance Hierarchy
Object
IpPermission

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)