Class PortRange
The list of port ranges for the connections from clients to the accelerator.
Inheritance
System.Object
PortRange
Implements
Namespace: Amazon.CDK.AWS.GlobalAccelerator
Assembly: Amazon.CDK.AWS.GlobalAccelerator.dll
Syntax (csharp)
public class PortRange : Object, IPortRange
Syntax (vb)
Public Class PortRange
Inherits Object
Implements IPortRange
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.GlobalAccelerator;
var portRange = new PortRange {
FromPort = 123,
// the properties below are optional
ToPort = 123
};
Synopsis
Constructors
PortRange() |
Properties
FromPort | The first port in the range of ports, inclusive. |
ToPort | The last port in the range of ports, inclusive. |
Constructors
PortRange()
public PortRange()
Properties
FromPort
The first port in the range of ports, inclusive.
public double FromPort { get; set; }
Property Value
System.Double
ToPort
The last port in the range of ports, inclusive.
public Nullable<double> ToPort { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Default: - same as fromPort