Interface IApplicationTargetGroup
- All Superinterfaces:
IConstruct
,software.constructs.IConstruct
,IDependable
,ITargetGroup
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IApplicationTargetGroup.Jsii$Default
- All Known Implementing Classes:
ApplicationTargetGroup
,IApplicationTargetGroup.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:44.344Z")
@Stability(Stable)
public interface IApplicationTargetGroup
extends software.amazon.jsii.JsiiSerializable, ITargetGroup
A Target Group for Application Load Balancers.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIApplicationTargetGroup
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addTarget
(@NotNull IApplicationLoadBalancerTarget... targets) Add a load balancing target to this target group.void
registerConnectable
(IConnectable connectable) Register a connectable as a member of this target group.void
registerConnectable
(IConnectable connectable, Port portRange) Register a connectable as a member of this target group.void
registerListener
(IApplicationListener listener) Register a listener that is load balancing to this target group.void
registerListener
(IApplicationListener listener, software.constructs.IConstruct associatingConstruct) Register a listener that is load balancing to this target group.Methods inherited from interface software.amazon.awscdk.core.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.services.elasticloadbalancingv2.ITargetGroup
getLoadBalancerArns, getLoadBalancerAttached, getTargetGroupArn, getTargetGroupName
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
addTarget
Add a load balancing target to this target group.- Parameters:
targets
- This parameter is required.
-
registerConnectable
@Stability(Stable) void registerConnectable(@NotNull IConnectable connectable, @Nullable Port portRange) Register a connectable as a member of this target group.Don't call this directly. It will be called by load balancing targets.
- Parameters:
connectable
- This parameter is required.portRange
-
-
registerConnectable
Register a connectable as a member of this target group.Don't call this directly. It will be called by load balancing targets.
- Parameters:
connectable
- This parameter is required.
-
registerListener
@Stability(Stable) void registerListener(@NotNull IApplicationListener listener, @Nullable software.constructs.IConstruct associatingConstruct) Register a listener that is load balancing to this target group.Don't call this directly. It will be called by listeners.
- Parameters:
listener
- This parameter is required.associatingConstruct
-
-
registerListener
Register a listener that is load balancing to this target group.Don't call this directly. It will be called by listeners.
- Parameters:
listener
- This parameter is required.
-