Interface NetworkLoadBalancerEndpointProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
NetworkLoadBalancerEndpointProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:21.706Z")
@Stability(Stable)
public interface NetworkLoadBalancerEndpointProps
extends software.amazon.jsii.JsiiSerializable
Properties for a NetworkLoadBalancerEndpoint.
Example:
NetworkLoadBalancer nlb;
Listener listener;
listener.addEndpointGroup("Group", EndpointGroupOptions.builder()
.endpoints(List.of(
NetworkLoadBalancerEndpoint.Builder.create(nlb)
.weight(128)
.preserveClientIp(true)
.build()))
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forNetworkLoadBalancerEndpointPropsstatic final classAn implementation forNetworkLoadBalancerEndpointProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPreserveClientIp
Forward the client IP address in anX-Forwarded-Forheader.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: false
-
getWeight
Endpoint weight across all endpoints in the group.Must be a value between 0 and 255.
Default: 128
-
builder
-