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



IconMemberDescription
IpPermissionSpecification()()()()
Initializes a new instance of the IpPermissionSpecification 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.)
Groups
List of security group and user ID pairs.

IpProtocol
IP protocol. Valid Values: tcp | udp | icmp

IpRanges
A list of IP ranges.

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

IsSetGroups()()()()
Checks if Groups property is set

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

IsSetIpRanges()()()()
Checks if IpRanges property is set

IsSetToPort()()()()
Checks if ToPort 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.)
WithFromPort(Decimal) Obsolete.
Sets the start of port range for the TCP and UDP protocols, or an ICMP type number.

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

WithIpProtocol(String) Obsolete.
Sets the IP protocol.

WithIpRanges(array<String>[]()[][]) Obsolete.
Sets a list of IP ranges.

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

Inheritance Hierarchy
Object
IpPermissionSpecification

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