IP Permission
Namespace: Amazon.EC2.ModelAssembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class IpPermission
Public Class IpPermission
public ref class IpPermission
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| IpPermission()()()() | Initializes a new instance of the IpPermission class | |
| Equals(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.) | |
| IpProtocol |
Gets and sets the IpProtocol property.
IP protocol.Valid Values: tcp | udp | icmp
| |
| IpRange |
Gets and sets the IpRange property.
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 |
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()()()() | (Inherited from Object.) | |
| UserIdGroupPair |
Gets and sets the UserIdGroupPair property.
List of security group and user ID pairs.
| |
| WithFromPort(Decimal) |
Sets the FromPort property
| |
| WithIpProtocol(String) |
Sets the IpProtocol property
| |
| WithIpRange(array<String>[]()[][]) |
Sets the IpRange property
| |
| WithToPort(Decimal) |
Sets the ToPort property
| |
| WithUserIdGroupPair(array<UserIdGroupPair>[]()[][]) |
Sets the UserIdGroupPair property
|