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

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:24:01.761Z") @Stability(Stable) public class AlbArnTarget extends software.amazon.jsii.JsiiObject implements INetworkLoadBalancerTarget
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.targets.*;
 AlbArnTarget albArnTarget = new AlbArnTarget("albArn", 123);
 
  • Constructor Details

    • AlbArnTarget

      protected AlbArnTarget(software.amazon.jsii.JsiiObjectRef objRef)
    • AlbArnTarget

      protected AlbArnTarget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • AlbArnTarget

      @Stability(Stable) public AlbArnTarget(@NotNull String albArn, @NotNull Number port)
      Create a new alb target.

      Note that the ALB must have a listener on the provided target port.

      Parameters:
      albArn - The ARN of 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.
  • Method Details