java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.elasticloadbalancingv2.targets.AlbArnTarget
software.amazon.awscdk.services.elasticloadbalancingv2.targets.AlbTarget
All Implemented Interfaces:
INetworkLoadBalancerTarget, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-09-11T18:01:15.981Z") @Stability(Deprecated) @Deprecated public class AlbTarget extends AlbArnTarget
Deprecated.
Use AlbListenerTarget instead or AlbArnTarget for an imported load balancer. This target does not automatically add a dependency between the ALB listener and resulting NLB target group, without which may cause stack deployments to fail if the NLB target group is provisioned before the listener has been fully created.
(deprecated) A single Application Load Balancer as the target for load balancing.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.elasticloadbalancingv2.*;
 import software.amazon.awscdk.services.elasticloadbalancingv2.targets.*;
 ApplicationLoadBalancer applicationLoadBalancer;
 AlbTarget albTarget = new AlbTarget(applicationLoadBalancer, 123);
 

  • Constructor Details

    • AlbTarget

      protected AlbTarget(software.amazon.jsii.JsiiObjectRef objRef)
      Deprecated.
    • AlbTarget

      protected AlbTarget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      Deprecated.
    • AlbTarget

      @Stability(Deprecated) @Deprecated public AlbTarget(@NotNull IApplicationLoadBalancer alb, @NotNull Number port)
      Deprecated.
      Parameters:
      alb - The application load balancer to load balance to. This parameter is required.
      port - The port on which the target is listening. This parameter is required.