interface IApplicationLoadBalancerTarget
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ElasticLoadBalancingV2.IApplicationLoadBalancerTarget |
![]() | software.amazon.awscdk.services.elasticloadbalancingv2.IApplicationLoadBalancerTarget |
![]() | aws_cdk.aws_elasticloadbalancingv2.IApplicationLoadBalancerTarget |
![]() | @aws-cdk/aws-elasticloadbalancingv2 » IApplicationLoadBalancerTarget |
Implemented by
Auto
, Ec2
, External
, Fargate
, Instance
, Instance
, Ip
, Lambda
, Instance
, Ip
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
IApplication
Target 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.