RouteProps

class aws_cdk.aws_appmesh.RouteProps(*, route_targets, prefix=None, route_name=None, route_type=None, mesh, virtual_router)

Bases: aws_cdk.aws_appmesh.RouteBaseProps

(experimental) Properties to define new Routes.

Parameters
  • route_targets (List[WeightedTargetProps]) – (experimental) Array of weighted route targets.

  • prefix (Optional[str]) – (experimental) The path prefix to match for the route. Default: “/” if http otherwise none

  • route_name (Optional[str]) – (experimental) The name of the route. Default: - An automatically generated name

  • route_type (Optional[RouteType]) – (experimental) Weather the route is HTTP based. Default: - HTTP if prefix is given, TCP otherwise

  • mesh (IMesh) – (experimental) The service mesh to define the route in.

  • virtual_router (IVirtualRouter) – (experimental) The virtual router in which to define the route.

Stability

experimental

Attributes

mesh

(experimental) The service mesh to define the route in.

Stability

experimental

Return type

IMesh

prefix

(experimental) The path prefix to match for the route.

Default

“/” if http otherwise none

Stability

experimental

Return type

Optional[str]

route_name

(experimental) The name of the route.

Default
  • An automatically generated name

Stability

experimental

Return type

Optional[str]

route_targets

(experimental) Array of weighted route targets.

Stability

experimental

Requires

minimum of 1

Return type

List[WeightedTargetProps]

route_type

(experimental) Weather the route is HTTP based.

Default
  • HTTP if prefix is given, TCP otherwise

Stability

experimental

Return type

Optional[RouteType]

virtual_router

(experimental) The virtual router in which to define the route.

Stability

experimental

Return type

IVirtualRouter