Interface RawEndpointProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
RawEndpointProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-05T03:43:44.045Z")
@Stability(Stable)
public interface RawEndpointProps
extends software.amazon.jsii.JsiiSerializable
Properties for RawEndpoint.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.globalaccelerator.*; RawEndpointProps rawEndpointProps = RawEndpointProps.builder() .endpointId("endpointId") // the properties below are optional .preserveClientIp(false) .region("region") .weight(123) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forRawEndpointProps
static final class
An implementation forRawEndpointProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic RawEndpointProps.Builder
builder()
Identifier of the endpoint.default Boolean
Forward the client IP address.default String
The region where this endpoint is located.default Number
Endpoint weight across all endpoints in the group.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEndpointId
Identifier of the endpoint.Load balancer ARN, instance ID or EIP allocation ID.
-
getPreserveClientIp
Forward the client IP address.GlobalAccelerator will create Network Interfaces in your VPC in order to preserve the client IP address.
Only applies to Application Load Balancers and EC2 instances.
Client IP address preservation is supported only in specific AWS Regions. See the GlobalAccelerator Developer Guide for a list.
Default: true if possible and available
-
getRegion
The region where this endpoint is located.Default: - Unknown what region this endpoint is located
-
getWeight
Endpoint weight across all endpoints in the group.Must be a value between 0 and 255.
Default: 128
-
builder
- Returns:
- a
RawEndpointProps.Builder
ofRawEndpointProps
-