WeightedTargetProps

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

Bases: object

(experimental) Properties for the Weighted Targets in the route.

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

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

Stability

experimental

Attributes

virtual_node

(experimental) The VirtualNode the route points to.

Stability

experimental

Return type

IVirtualNode

weight

(experimental) The weight for the target.

Default

1

Stability

experimental

Return type

Union[int, float, None]