Show / Hide Table of Contents

Class PortRange

The list of port ranges for the connections from clients to the accelerator.

Inheritance
object
PortRange
Implements
IPortRange
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.GlobalAccelerator
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class PortRange : IPortRange
Syntax (vb)
Public Class PortRange 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()

The list of port ranges for the connections from clients to the accelerator.

Properties

FromPort

The first port in the range of ports, inclusive.

ToPort

The last port in the range of ports, inclusive.

Constructors

PortRange()

The list of port ranges for the connections from clients to the accelerator.

public PortRange()
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
            };

Properties

FromPort

The first port in the range of ports, inclusive.

public double FromPort { get; set; }
Property Value

double

Remarks

ExampleMetadata: fixture=_generated

ToPort

The last port in the range of ports, inclusive.

public double? ToPort { get; set; }
Property Value

double?

Remarks

Default: - same as fromPort

Implements

IPortRange
Back to top Generated by DocFX