Show / Hide Table of Contents

Interface CfnEndpointGroup.IPortOverrideProperty

Override specific listener ports used to route traffic to endpoints that are part of an endpoint group.

Namespace: Amazon.CDK.AWS.GlobalAccelerator
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnEndpointGroup.IPortOverrideProperty
Syntax (vb)
Public Interface CfnEndpointGroup.IPortOverrideProperty
Remarks

For example, you can create a port override in which the listener receives user traffic on ports 80 and 443, but your accelerator routes that traffic to ports 1080 and 1443, respectively, on the endpoints.

For more information, see Port overrides in the AWS Global Accelerator Developer Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-globalaccelerator-endpointgroup-portoverride.html

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 portOverrideProperty = new PortOverrideProperty {
                 EndpointPort = 123,
                 ListenerPort = 123
             };

Synopsis

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.

Properties

EndpointPort

The endpoint port that you want a listener port to be mapped to.

double EndpointPort { get; }
Property Value

double

Remarks

This is the port on the endpoint, such as the Application Load Balancer or Amazon EC2 instance.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-globalaccelerator-endpointgroup-portoverride.html#cfn-globalaccelerator-endpointgroup-portoverride-endpointport

ListenerPort

The listener port that you want to map to a specific endpoint port.

double ListenerPort { get; }
Property Value

double

Remarks

This is the port that user traffic arrives to the Global Accelerator on.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-globalaccelerator-endpointgroup-portoverride.html#cfn-globalaccelerator-endpointgroup-portoverride-listenerport

Back to top Generated by DocFX