class ApplicationLoadBalancerEndpoint
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.GlobalAccelerator.Endpoints.ApplicationLoadBalancerEndpoint |
![]() | software.amazon.awscdk.services.globalaccelerator.endpoints.ApplicationLoadBalancerEndpoint |
![]() | aws_cdk.aws_globalaccelerator_endpoints.ApplicationLoadBalancerEndpoint |
![]() | @aws-cdk/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
IApplication
Load Balancer - options
Application
Load Balancer Endpoint Options
Properties
Name | Type | Description |
---|---|---|
region? | string | The 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
Name | Description |
---|---|
render | Render the endpoint to an endpoint configuration. |
renderEndpointConfiguration()
public renderEndpointConfiguration(): any
Returns
any
Render the endpoint to an endpoint configuration.