IpPermission Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...

An IP permission describing allowed incoming IP traffic to an Amazon EC2 security group.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.IpPermission

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class IpPermission : Object

The IpPermission type exposes the following members

Constructors

  Name Description
Public Method IpPermission()

Properties

  Name Description
Public Property 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).
Public Property IpProtocol The IP protocol of this permission. Valid protocol values: tcp, udp, icmp
Public Property IpRanges The list of CIDR IP ranges included in this permission.
Public Property 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).
Public Property UserIdGroupPairs The list of AWS user IDs and groups included in this permission.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8

.NET for Windows Phone:
Supported in: Window Phone 8