WeightedTargetGroup

class aws_cdk.aws_elasticloadbalancingv2.WeightedTargetGroup(*, target_group, weight=None)

Bases: object

A Target Group and weight combination.

Parameters
  • target_group (IApplicationTargetGroup) – The target group.

  • weight (Union[int, float, None]) – The target group’s weight. Range is [0..1000). Default: 1

Attributes

target_group

The target group.

Return type

IApplicationTargetGroup

weight

The target group’s weight.

Range is [0..1000).

Default

1

Return type

Union[int, float, None]