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.99.0 (build 8f757e4)", date="2024-06-13T18:49:18.911Z") @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.