ILoadBalancerTarget

class aws_cdk.aws_elasticloadbalancing.ILoadBalancerTarget(*args, **kwargs)

Bases: aws_cdk.aws_ec2.IConnectable, typing_extensions.Protocol

Interface that is going to be implemented by constructs that you can load balance to.

__init__(*args, **kwargs)

Methods

attach_to_classic_lb(load_balancer)

Attach load-balanced target to a classic ELB.

Parameters

load_balancer (LoadBalancer) – [disable-awslint:ref-via-interface] The load balancer to attach the target to.

Return type

None

Attributes

connections
Return type

Connections