NetworkWeightedTargetGroup
- class aws_cdk.aws_elasticloadbalancingv2.NetworkWeightedTargetGroup(*, target_group, weight=None)
Bases:
object
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
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_elasticloadbalancingv2 as elbv2 # network_target_group: elbv2.NetworkTargetGroup network_weighted_target_group = elbv2.NetworkWeightedTargetGroup( target_group=network_target_group, # the properties below are optional weight=123 )
Attributes
- target_group
The target group.
- weight
The target group’s weight.
Range is [0..1000).
- Default:
1