NetworkWeightedTargetGroup

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

Bases: object

__init__(*, target_group, weight=None)

A Target Group and weight combination.

Parameters
  • target_group (INetworkTargetGroup) – The target group.

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

Return type

None

Attributes

target_group

The target group.

Return type

INetworkTargetGroup

weight

The target group’s weight.

Range is [0..1000).

default :default: 1

Return type

Union[int, float, None]