Interface InstanceEndpointProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-31T18:44:18.411Z") @Stability(Stable) public interface InstanceEndpointProps extends
Properties for a NetworkLoadBalancerEndpoint.


 Listener listener;
 Instance instance;
 listener.addEndpointGroup("Group", EndpointGroupOptions.builder()
  • Method Details

    • getPreserveClientIp

      @Stability(Stable) @Nullable default Boolean getPreserveClientIp()
      Forward the client IP address.

      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 InstanceEndpointProps.Builder builder()
      a InstanceEndpointProps.Builder of InstanceEndpointProps