Interface PortOverride

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
PortOverride.Jsii$Proxy

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-11T15:55:59.611Z") @Stability(Stable) public interface PortOverride extends software.amazon.jsii.JsiiSerializable
Override specific listener ports used to route traffic to endpoints that are part of an endpoint group.

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.*;
 PortOverride portOverride = PortOverride.builder()
         .endpointPort(123)
         .listenerPort(123)
         .build();
 
  • Method Details

    • getEndpointPort

      @Stability(Stable) @NotNull Number getEndpointPort()
      The endpoint port that you want a listener port to be mapped to.

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

    • getListenerPort

      @Stability(Stable) @NotNull Number getListenerPort()
      The listener port that you want to map to a specific endpoint port.

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

    • builder

      @Stability(Stable) static PortOverride.Builder builder()
      Returns:
      a PortOverride.Builder of PortOverride