Interface INetworkTargetGroup
- All Superinterfaces:
software.constructs.IConstruct
,software.constructs.IDependable
,ITargetGroup
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
INetworkTargetGroup.Jsii$Default
- All Known Implementing Classes:
INetworkTargetGroup.Jsii$Proxy
,NetworkTargetGroup
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-27T16:50:57.641Z")
@Stability(Stable)
public interface INetworkTargetGroup
extends software.amazon.jsii.JsiiSerializable, ITargetGroup
A network target group.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forINetworkTargetGroup
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addTarget
(@NotNull INetworkLoadBalancerTarget... targets) Add a load balancing target to this target group.All metrics available for this target group.void
registerListener
(INetworkListener listener) 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.
-
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.
-