interface ILoadBalancerTarget
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ElasticLoadBalancing.ILoadBalancerTarget |
Java | software.amazon.awscdk.services.elasticloadbalancing.ILoadBalancerTarget |
Python | aws_cdk.aws_elasticloadbalancing.ILoadBalancerTarget |
TypeScript (source) | @aws-cdk/aws-elasticloadbalancing » ILoadBalancerTarget |
Implemented by
Auto, Ec2, External, Fargate
Interface that is going to be implemented by constructs that you can load balance to.
Properties
| Name | Type | Description |
|---|---|---|
| connections | Connections | The network connections associated with this resource. |
connections
Type:
Connections
The network connections associated with this resource.
Methods
| Name | Description |
|---|---|
| attach | Attach load-balanced target to a classic ELB. |
attachToClassicLB(loadBalancer)
public attachToClassicLB(loadBalancer: LoadBalancer): void
Parameters
- loadBalancer
Load— [disable-awslint:ref-via-interface] The load balancer to attach the target to.Balancer
Attach load-balanced target to a classic ELB.

.NET
Java
Python
TypeScript (