Interface IApplicationTargetGroup
- All Superinterfaces:
software.constructs.IConstruct
,software.constructs.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.104.0 (build e79254c)",
date="2024-12-06T14:43:19.023Z")
@Stability(Stable)
public interface IApplicationTargetGroup
extends software.amazon.jsii.JsiiSerializable, ITargetGroup
A Target Group for Application Load Balancers.
-
Nested Class Summary
Modifier 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.All metrics available for 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.constructs.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
-
getMetrics
All metrics available for this target group. -
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.
-