WeightedTarget

class aws_cdk.aws_appmesh.WeightedTarget(*, virtual_node, weight=None)

Bases: object

Properties for the Weighted Targets in the route.

Parameters
  • virtual_node (IVirtualNode) – The VirtualNode the route points to.

  • weight (Union[int, float, None]) – The weight for the target. Default: 1

Attributes

virtual_node

The VirtualNode the route points to.

Return type

IVirtualNode

weight

The weight for the target.

Default

1

Return type

Union[int, float, None]