Interface INetworkLoadBalancerTarget

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IEcsLoadBalancerTarget, IEcsLoadBalancerTarget.Jsii$Default, INetworkLoadBalancerTarget.Jsii$Default
All Known Implementing Classes:
AlbArnTarget, AlbListenerTarget, AlbTarget, AutoScalingGroup, BaseService, Ec2Service, ExternalService, FargateService, IEcsLoadBalancerTarget.Jsii$Proxy, INetworkLoadBalancerTarget.Jsii$Proxy, InstanceIdTarget, InstanceTarget, IpTarget

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:24:01.725Z") @Stability(Stable) public interface INetworkLoadBalancerTarget extends software.amazon.jsii.JsiiSerializable
Interface for constructs that can be targets of an network load balancer.
  • Method Details

    • attachToNetworkTargetGroup

      @Stability(Stable) @NotNull LoadBalancerTargetProps attachToNetworkTargetGroup(@NotNull INetworkTargetGroup targetGroup)
      Attach load-balanced target to a TargetGroup.

      May return JSON to directly add to the [Targets] list, or return undefined if the target will register itself with the load balancer.

      Parameters:
      targetGroup - This parameter is required.