LambdaTarget

class aws_cdk.aws_elasticloadbalancingv2_targets.LambdaTarget(fn)

Bases: object

stability :stability: experimental

__init__(fn)

Create a new Lambda target.

Parameters

fn (IFunction) –

stability :stability: experimental

Return type

None

Methods

attach_to_application_target_group(target_group)

Register this instance target with a load balancer.

Don’t call this, it is called automatically when you add the target to a load balancer.

Parameters

target_group (IApplicationTargetGroup) –

stability :stability: experimental

Return type

LoadBalancerTargetProps

attach_to_network_target_group(target_group)

Register this instance target with a load balancer.

Don’t call this, it is called automatically when you add the target to a load balancer.

Parameters

target_group (INetworkTargetGroup) –

stability :stability: experimental

Return type

LoadBalancerTargetProps