# IApplicationLoadBalancerTarget

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

Extends: IApplicationLoadBalancerTarget
Implemented by: AutoScalingGroup, BaseService, Ec2Service, ExternalService, FargateService, InstanceIdTarget, InstanceTarget, IpTarget, LambdaTarget

- Source: [`aws-elasticloadbalancingv2/lib/alb/application-target-group.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-elasticloadbalancingv2/lib/alb/application-target-group.ts#L737)

## Methods

- `attachToApplicationTargetGroup(targetGroup: IApplicationTargetGroup): 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.
