# INetworkLoadBalancerTarget

Interface for constructs that can be targets of an network load balancer.

Extends: INetworkLoadBalancerTarget
Implemented by: AutoScalingGroup, BaseService, Ec2Service, ExternalService, FargateService, AlbArnTarget, AlbListenerTarget, AlbTarget, InstanceIdTarget, InstanceTarget, IpTarget

- Source: [`aws-elasticloadbalancingv2/lib/nlb/network-target-group.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-elasticloadbalancingv2/lib/nlb/network-target-group.ts#L376)

## Methods

- `attachToNetworkTargetGroup(targetGroup: INetworkTargetGroup): LoadBalancerTargetProps` — 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.
