WeightedTargetProps

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

Bases: object

__init__(*, virtual_node, weight=None)

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

stability :stability: experimental

Attributes

virtual_node

The VirtualNode the route points to.

stability :stability: experimental

Return type

IVirtualNode

weight

The weight for the target.

default :default: 1

stability :stability: experimental

Return type

Union[int, float, None]