Show / Hide Table of Contents

Interface IApplicationLoadBalancerEndpointOptions

Properties for a ApplicationLoadBalancerEndpoint.

Namespace: Amazon.CDK.AWS.GlobalAccelerator.Endpoints
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IApplicationLoadBalancerEndpointOptions
Syntax (vb)
Public Interface 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
                    }) }
            });

Synopsis

Properties

PreserveClientIp

Forward the client IP address in an X-Forwarded-For header.

Weight

Endpoint weight across all endpoints in the group.

Properties

PreserveClientIp

Forward the client IP address in an X-Forwarded-For header.

bool? PreserveClientIp { get; }
Property Value

bool?

Remarks

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

Weight

Endpoint weight across all endpoints in the group.

double? Weight { get; }
Property Value

double?

Remarks

Must be a value between 0 and 255.

Default: 128

Back to top Generated by DocFX