RouteBaseProps

class aws_cdk.aws_appmesh.RouteBaseProps(*, route_targets, prefix=None, route_name=None, route_type=None)

Bases: object

(experimental) Base interface properties for all 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

Stability

experimental

Attributes

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]