38 lines
1.2 KiB
TypeScript
38 lines
1.2 KiB
TypeScript
import type * as elbv2 from '../../aws-elasticloadbalancingv2';
|
|
import type * as ga from '../../aws-globalaccelerator';
|
|
/**
|
|
* Properties for a ApplicationLoadBalancerEndpoint
|
|
*/
|
|
export interface ApplicationLoadBalancerEndpointOptions {
|
|
/**
|
|
* 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 true if available
|
|
*/
|
|
readonly preserveClientIp?: boolean;
|
|
}
|
|
/**
|
|
* Use an Application Load Balancer as a Global Accelerator Endpoint
|
|
*/
|
|
export declare class ApplicationLoadBalancerEndpoint implements ga.IEndpoint {
|
|
private readonly loadBalancer;
|
|
private readonly options;
|
|
readonly region?: string;
|
|
constructor(loadBalancer: elbv2.IApplicationLoadBalancer, options?: ApplicationLoadBalancerEndpointOptions);
|
|
renderEndpointConfiguration(): any;
|
|
}
|