Show / Hide Table of Contents

Class AclPortRange

Properties to create PortRange.

Inheritance
System.Object
AclPortRange
Implements
IAclPortRange
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class AclPortRange : Object, IAclPortRange
Syntax (vb)
Public Class AclPortRange
    Inherits Object
    Implements IAclPortRange
Remarks

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;

var aclPortRange = new AclPortRange {
    From = 123,
    To = 123
};

Synopsis

Constructors

AclPortRange()

Properties

From

The first port in the range.

To

The last port in the range.

Constructors

AclPortRange()

public AclPortRange()

Properties

From

The first port in the range.

public Nullable<double> From { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

Required if you specify 6 (TCP) or 17 (UDP) for the protocol parameter.

To

The last port in the range.

public Nullable<double> To { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

Required if you specify 6 (TCP) or 17 (UDP) for the protocol parameter.

Implements

IAclPortRange
Back to top Generated by DocFX