Show / Hide Table of Contents

Class ApplicationLoadBalancerEndpoint

Use an Application Load Balancer as a Global Accelerator Endpoint.

Inheritance
object
ApplicationLoadBalancerEndpoint
Implements
IEndpoint
Namespace: Amazon.CDK.AWS.GlobalAccelerator.Endpoints
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ApplicationLoadBalancerEndpoint : DeputyBase, IEndpoint
Syntax (vb)
Public Class ApplicationLoadBalancerEndpoint Inherits DeputyBase Implements IEndpoint
Remarks

ExampleMetadata: infused

Examples
ApplicationLoadBalancer alb;
            Listener listener;


            listener.AddEndpointGroup("Group", new EndpointGroupOptions {
                Endpoints = new [] {
                    new ApplicationLoadBalancerEndpoint(alb, new ApplicationLoadBalancerEndpointOptions {
                        Weight = 128,
                        PreserveClientIp = true
                    }) }
            });

Synopsis

Constructors

ApplicationLoadBalancerEndpoint(IApplicationLoadBalancer, IApplicationLoadBalancerEndpointOptions?)

Use an Application Load Balancer as a Global Accelerator Endpoint.

Properties

Region

The region where the endpoint is located.

Methods

RenderEndpointConfiguration()

Render the endpoint to an endpoint configuration.

Constructors

ApplicationLoadBalancerEndpoint(IApplicationLoadBalancer, IApplicationLoadBalancerEndpointOptions?)

Use an Application Load Balancer as a Global Accelerator Endpoint.

public ApplicationLoadBalancerEndpoint(IApplicationLoadBalancer loadBalancer, IApplicationLoadBalancerEndpointOptions? options = null)
Parameters
loadBalancer IApplicationLoadBalancer
options IApplicationLoadBalancerEndpointOptions
Remarks

ExampleMetadata: infused

Examples
ApplicationLoadBalancer alb;
            Listener listener;


            listener.AddEndpointGroup("Group", new EndpointGroupOptions {
                Endpoints = new [] {
                    new ApplicationLoadBalancerEndpoint(alb, new ApplicationLoadBalancerEndpointOptions {
                        Weight = 128,
                        PreserveClientIp = true
                    }) }
            });

Properties

Region

The region where the endpoint is located.

public virtual string? Region { get; }
Property Value

string

Remarks

If the region cannot be determined, undefined is returned

Methods

RenderEndpointConfiguration()

Render the endpoint to an endpoint configuration.

public virtual object RenderEndpointConfiguration()
Returns

object

Remarks

ExampleMetadata: infused

Implements

IEndpoint
Back to top Generated by DocFX