interface IApplicationLoadBalancerTarget
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ElasticLoadBalancingV2.IApplicationLoadBalancerTarget |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awselasticloadbalancingv2#IApplicationLoadBalancerTarget |
Java | software.amazon.awscdk.services.elasticloadbalancingv2.IApplicationLoadBalancerTarget |
Python | aws_cdk.aws_elasticloadbalancingv2.IApplicationLoadBalancerTarget |
TypeScript (source) | aws-cdk-lib » aws_elasticloadbalancingv2 » IApplicationLoadBalancerTarget |
Implemented by
Auto, Ec2, External, Fargate, Instance, Instance, Ip, Lambda
Interface for constructs that can be targets of an application load balancer.
Methods
| Name | Description |
|---|---|
| attach | Attach load-balanced target to a TargetGroup. |
attachToApplicationTargetGroup(targetGroup)
public attachToApplicationTargetGroup(targetGroup: IApplicationTargetGroup): LoadBalancerTargetProps
Parameters
- targetGroup
IApplicationTarget Group
Returns
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.

.NET
Go
Java
Python
TypeScript (