Files
agent-claw/cdk/node_modules/aws-cdk-lib/aws-globalaccelerator-endpoints/lib/nlb.d.ts
2026-05-06 18:55:16 -05:00

38 lines
1.2 KiB
TypeScript

import type * as elbv2 from '../../aws-elasticloadbalancingv2';
import type * as ga from '../../aws-globalaccelerator';
/**
* Properties for a NetworkLoadBalancerEndpoint
*/
export interface NetworkLoadBalancerEndpointProps {
/**
* Endpoint weight across all endpoints in the group
*
* Must be a value between 0 and 255.
*
* @default 128
*/
readonly weight?: number;
/**
* 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 false
*/
readonly preserveClientIp?: boolean;
}
/**
* Use a Network Load Balancer as a Global Accelerator Endpoint
*/
export declare class NetworkLoadBalancerEndpoint implements ga.IEndpoint {
private readonly loadBalancer;
private readonly options;
readonly region?: string;
constructor(loadBalancer: elbv2.INetworkLoadBalancer, options?: NetworkLoadBalancerEndpointProps);
renderEndpointConfiguration(): any;
}