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.104.0 (build e79254c)",
date="2024-11-22T02:24:01.762Z")
@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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.elasticloadbalancingv2.INetworkLoadBalancerTarget
INetworkLoadBalancerTarget.Jsii$Default, INetworkLoadBalancerTarget.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionAlbTarget
(IApplicationLoadBalancer alb, Number port) Deprecated.protected
AlbTarget
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.protected
AlbTarget
(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
Method Summary
Methods inherited from class software.amazon.awscdk.services.elasticloadbalancingv2.targets.AlbArnTarget
attachToNetworkTargetGroup
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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.
-
AlbListenerTarget
instead orAlbArnTarget
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.