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.
  • Method Details

    • getMetrics

      @Stability(Stable) @NotNull INetworkTargetGroupMetrics getMetrics()
      All metrics available for this target group.
    • addTarget

      @Stability(Stable) void addTarget(@NotNull @NotNull INetworkLoadBalancerTarget... targets)
      Add a load balancing target to this target group.

      Parameters:
      targets - This parameter is required.
    • registerListener

      @Stability(Stable) void registerListener(@NotNull INetworkListener listener)
      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.