Class CfnListener.PortRangeProperty
A complex type for a range of ports for a listener.
Inheritance
System.Object
CfnListener.PortRangeProperty
Implements
Namespace: Amazon.CDK.AWS.GlobalAccelerator
Assembly: Amazon.CDK.AWS.GlobalAccelerator.dll
Syntax (csharp)
public class PortRangeProperty : Object, CfnListener.IPortRangeProperty
Syntax (vb)
Public Class PortRangeProperty
Inherits Object
Implements CfnListener.IPortRangeProperty
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 portRangeProperty = new PortRangeProperty {
FromPort = 123,
ToPort = 123
};
Synopsis
Constructors
PortRangeProperty() |
Properties
FromPort | The first port in the range of ports, inclusive. |
ToPort | The last port in the range of ports, inclusive. |
Constructors
PortRangeProperty()
public PortRangeProperty()
Properties
FromPort
The first port in the range of ports, inclusive.
public double FromPort { get; set; }
Property Value
System.Double
Remarks
ToPort
The last port in the range of ports, inclusive.
public double ToPort { get; set; }
Property Value
System.Double