Interface PortOverride

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.99.0 (build 8f757e4)", date="2024-06-13T18:49:19.525Z") @Stability(Stable) public interface PortOverride extends
Override specific listener ports used to route traffic to endpoints that are part of an endpoint group.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 PortOverride portOverride = PortOverride.builder()
  • 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()
      a PortOverride.Builder of PortOverride