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.118.0 (build 02eec31)",
date="2025-11-04T09:27:41.635Z")
@Stability(Stable)
public interface INetworkTargetGroup
extends software.amazon.jsii.JsiiSerializable, ITargetGroup
A network target group.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forINetworkTargetGroup.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTarget(INetworkLoadBalancerTarget... targets) Add a load balancing target to this target group.All metrics available for this target group.voidregisterListener(INetworkListener listener) Register a listener that is load balancing to this target group.Methods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.services.elasticloadbalancingv2.ITargetGroup
getLoadBalancerArns, getLoadBalancerAttached, getTargetGroupArn, getTargetGroupNameMethods 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.
-