Interface IApplicationTargetGroup

All Superinterfaces:
IConstruct, software.constructs.IConstruct, 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.84.0 (build 5404dcf)", date="2023-06-19T16:30:44.344Z") @Stability(Stable) public interface IApplicationTargetGroup extends software.amazon.jsii.JsiiSerializable, ITargetGroup
A Target Group for Application Load Balancers.
  • Method Details

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