@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.137Z") @Stability(value=Stable) public class AlbArnTarget extends software.amazon.jsii.JsiiObject implements INetworkLoadBalancerTarget
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);
software.amazon.jsii.JsiiObject.InitializationModeINetworkLoadBalancerTarget.Jsii$Default, INetworkLoadBalancerTarget.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
AlbArnTarget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
AlbArnTarget(software.amazon.jsii.JsiiObjectRef objRef) |
|
AlbArnTarget(String albArn,
Number port)
Create a new alb target.
|
| Modifier and Type | Method and Description |
|---|---|
LoadBalancerTargetProps |
attachToNetworkTargetGroup(INetworkTargetGroup targetGroup)
Register this alb target with a load balancer.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected AlbArnTarget(software.amazon.jsii.JsiiObjectRef objRef)
protected AlbArnTarget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public AlbArnTarget(@NotNull
String albArn,
@NotNull
Number port)
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.@Stability(value=Stable) @NotNull public LoadBalancerTargetProps attachToNetworkTargetGroup(@NotNull INetworkTargetGroup targetGroup)
Don't call this, it is called automatically when you add the target to a load balancer.
attachToNetworkTargetGroup in interface INetworkLoadBalancerTargettargetGroup - This parameter is required.Copyright © 2022. All rights reserved.