Interface ApplicationLoadBalancerEndpointOptions

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.99.0 (build 8f757e4)", date="2024-06-13T18:49:19.528Z") @Stability(Stable) public interface ApplicationLoadBalancerEndpointOptions extends
Properties for a ApplicationLoadBalancerEndpoint.


 ApplicationLoadBalancer alb;
 Listener listener;
 listener.addEndpointGroup("Group", EndpointGroupOptions.builder()
  • Method Details

    • getPreserveClientIp

      @Stability(Stable) @Nullable default Boolean getPreserveClientIp()
      Forward the client IP address in an X-Forwarded-For header.

      GlobalAccelerator will create Network Interfaces in your VPC in order to preserve the client IP address.

      Client IP address preservation is supported only in specific AWS Regions. See the GlobalAccelerator Developer Guide for a list.

      Default: true if available

    • getWeight

      @Stability(Stable) @Nullable default Number getWeight()
      Endpoint weight across all endpoints in the group.

      Must be a value between 0 and 255.

      Default: 128

    • builder

      @Stability(Stable) static ApplicationLoadBalancerEndpointOptions.Builder builder()
      a ApplicationLoadBalancerEndpointOptions.Builder of ApplicationLoadBalancerEndpointOptions