IApplicationTargetGroup¶
-
class
aws_cdk.aws_elasticloadbalancingv2.
IApplicationTargetGroup
(*args, **kwds)¶ Bases:
aws_cdk.aws_elasticloadbalancingv2.ITargetGroup
,typing_extensions.Protocol
A Target Group for Application Load Balancers.
Methods
-
add_target
(*targets)¶ Add a load balancing target to this target group.
- Parameters
targets (
IApplicationLoadBalancerTarget
) –- Return type
None
-
register_connectable
(connectable, port_range=None)¶ Register a connectable as a member of this target group.
Don’t call this directly. It will be called by load balancing targets.
- Parameters
connectable (
IConnectable
) –port_range (
Optional
[Port
]) –
- Return type
None
-
register_listener
(listener, associating_construct=None)¶ Register a listener that is load balancing to this target group.
Don’t call this directly. It will be called by listeners.
- Parameters
listener (
IApplicationListener
) –associating_construct (
Optional
[IConstruct
]) –
- Return type
None
Attributes
-
load_balancer_arns
¶ A token representing a list of ARNs of the load balancers that route traffic to this target group.
- Return type
str
-
load_balancer_attached
¶ Return an object to depend on the listeners added to this target group.
- Return type
-
node
¶ The construct tree node for this construct.
- Return type
-
target_group_arn
¶ ARN of the target group.
- Return type
str
-