INetworkLoadBalancerTarget

class aws_cdk.aws_elasticloadbalancingv2.INetworkLoadBalancerTarget(*args, **kwds)

Bases: Protocol

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

Methods

attach_to_network_target_group(target_group)

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.

Parameters:

target_group (INetworkTargetGroup) –

Return type:

LoadBalancerTargetProps