Class AlbTarget
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.119.0 (build 1634eac)",
date="2025-11-17T14:40:52.177Z")
@Stability(Deprecated)
@Deprecated
public class AlbTarget
extends AlbArnTarget
Deprecated.
(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);
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.elasticloadbalancingv2.INetworkLoadBalancerTarget
INetworkLoadBalancerTarget.Jsii$Default, INetworkLoadBalancerTarget.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionAlbTarget(IApplicationLoadBalancer alb, Number port) Deprecated.protectedAlbTarget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.protectedAlbTarget(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
Method Summary
Methods inherited from class software.amazon.awscdk.services.elasticloadbalancingv2.targets.AlbArnTarget
attachToNetworkTargetGroupMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
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.
-
AlbListenerTargetinstead orAlbArnTargetfor 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.