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 IpPermissionSpecification
Public Class IpPermissionSpecification
public ref class IpPermissionSpecification
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| IpPermissionSpecification()()()() | Initializes a new instance of the IpPermissionSpecification 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.) | |
| Groups |
Gets and sets the Groups property.
List of security group and user ID pairs.
| |
| IpProtocol |
Gets and sets the IpProtocol property.
IP protocol.Valid Values: tcp | udp | icmp
| |
| IpRanges |
Gets and sets the IpRanges property.
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 |
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.) | |
| WithFromPort(Decimal) |
Sets the FromPort property
| |
| WithGroups(array<UserIdGroupPair>[]()[][]) |
Sets the Groups property
| |
| WithIpProtocol(String) |
Sets the IpProtocol property
| |
| WithIpRanges(array<String>[]()[][]) |
Sets the IpRanges property
| |
| WithToPort(Decimal) |
Sets the ToPort property
|