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.97.0 (build 729de35)", date="2024-04-24T21:00:29.883Z") @Stability(Stable) public interface IApplicationTargetGroup extends software.amazon.jsii.JsiiSerializable, ITargetGroup
A Target Group for Application Load Balancers.
  • Method Details

    • getMetrics

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

      @Stability(Stable) void addTarget(@NotNull @NotNull IApplicationLoadBalancerTarget... targets)
      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

      @Stability(Stable) void registerConnectable(@NotNull IConnectable connectable)
      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

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