aws-cdk-lib.aws_globalaccelerator_endpoints.ApplicationLoadBalancerEndpoint

class ApplicationLoadBalancerEndpoint

LanguageType name
.NETAmazon.CDK.AWS.GlobalAccelerator.Endpoints.ApplicationLoadBalancerEndpoint
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsglobalacceleratorendpoints#ApplicationLoadBalancerEndpoint
Javasoftware.amazon.awscdk.services.globalaccelerator.endpoints.ApplicationLoadBalancerEndpoint
Pythonaws_cdk.aws_globalaccelerator_endpoints.ApplicationLoadBalancerEndpoint
TypeScript (source)aws-cdk-lib » aws_globalaccelerator_endpoints » ApplicationLoadBalancerEndpoint

Implements IEndpoint

Use an Application Load Balancer as a Global Accelerator Endpoint.

Example

declare const alb: elbv2.ApplicationLoadBalancer;
declare const listener: globalaccelerator.Listener;

listener.addEndpointGroup('Group', {
  endpoints: [
    new ga_endpoints.ApplicationLoadBalancerEndpoint(alb, {
      weight: 128,
      preserveClientIp: true,
    }),
  ],
});

Initializer

new ApplicationLoadBalancerEndpoint(loadBalancer: IApplicationLoadBalancer, options?: ApplicationLoadBalancerEndpointOptions)

Parameters

  • loadBalancer IApplicationLoadBalancer
  • options ApplicationLoadBalancerEndpointOptions

Properties

NameTypeDescription
region?stringThe region where the endpoint is located.

region?

Type: string (optional)

The region where the endpoint is located.

If the region cannot be determined, undefined is returned

Methods

NameDescription
renderEndpointConfiguration()Render the endpoint to an endpoint configuration.

renderEndpointConfiguration()

public renderEndpointConfiguration(): any

Returns

  • any

Render the endpoint to an endpoint configuration.