Class ApplicationLoadBalancerEndpoint
Use an Application Load Balancer as a Global Accelerator Endpoint.
Inheritance
System.Object
ApplicationLoadBalancerEndpoint
Implements
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) | |
ApplicationLoadBalancerEndpoint(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
ApplicationLoadBalancerEndpoint(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
Region | The region where the endpoint is located. |
Methods
RenderEndpointConfiguration() | Render the endpoint to an endpoint configuration. |
Constructors
ApplicationLoadBalancerEndpoint(IApplicationLoadBalancer, IApplicationLoadBalancerEndpointOptions)
public ApplicationLoadBalancerEndpoint(IApplicationLoadBalancer loadBalancer, IApplicationLoadBalancerEndpointOptions options = null)
Parameters
- loadBalancer IApplicationLoadBalancer
- options IApplicationLoadBalancerEndpointOptions
ApplicationLoadBalancerEndpoint(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected ApplicationLoadBalancerEndpoint(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
ApplicationLoadBalancerEndpoint(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected ApplicationLoadBalancerEndpoint(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
Region
The region where the endpoint is located.
public virtual string Region { get; }
Property Value
System.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
System.Object