Interface INetworkLoadBalancerTarget

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

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:07.176Z") @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.