Class PortOverride
Override specific listener ports used to route traffic to endpoints that are part of an endpoint group.
Inheritance
System.Object
PortOverride
Implements
Namespace: Amazon.CDK.AWS.GlobalAccelerator
Assembly: Amazon.CDK.AWS.GlobalAccelerator.dll
Syntax (csharp)
public class PortOverride : Object, IPortOverride
Syntax (vb)
Public Class PortOverride
Inherits Object
Implements IPortOverride
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 portOverride = new PortOverride {
EndpointPort = 123,
ListenerPort = 123
};
Synopsis
Constructors
PortOverride() |
Properties
EndpointPort | The endpoint port that you want a listener port to be mapped to. |
ListenerPort | The listener port that you want to map to a specific endpoint port. |
Constructors
PortOverride()
public PortOverride()
Properties
EndpointPort
The endpoint port that you want a listener port to be mapped to.
public double EndpointPort { get; set; }
Property Value
System.Double
Remarks
This is the port on the endpoint, such as the Application Load Balancer or Amazon EC2 instance.
ListenerPort
The listener port that you want to map to a specific endpoint port.
public double ListenerPort { get; set; }
Property Value
System.Double
Remarks
This is the port that user traffic arrives to the Global Accelerator on.