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, InstanceTarget, IpTarget, IpTarget

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:44.347Z") @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.