Interface CfnEndpointGroup.PortOverrideProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnEndpointGroup.PortOverrideProperty.Jsii$Proxy
Enclosing class:
CfnEndpointGroup

@Stability(Stable) public static interface CfnEndpointGroup.PortOverrideProperty extends software.amazon.jsii.JsiiSerializable
Override specific listener ports used to route traffic to endpoints that are part of an endpoint group.

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 .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.globalaccelerator.*;
 PortOverrideProperty portOverrideProperty = PortOverrideProperty.builder()
         .endpointPort(123)
         .listenerPort(123)
         .build();
 

See Also: