Interface NetworkLoadBalancerEndpointProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
NetworkLoadBalancerEndpointProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-21T06:34:08.890Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forNetworkLoadBalancerEndpointProps
static final class
An 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-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: false
-
getWeight
Endpoint weight across all endpoints in the group.Must be a value between 0 and 255.
Default: 128
-
builder
-