RouteBaseProps

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

Bases: object

__init__(*, route_targets, prefix=None, route_name=None, route_type=None)

Base interface properties for all Routes.

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

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

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

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

stability :stability: experimental

Return type

None

Attributes

prefix

The path prefix to match for the route.

default :default: “/” if http otherwise none

stability :stability: experimental

Return type

Optional[str]

route_name

The name of the route.

default :default: - An automatically generated name

stability :stability: experimental

Return type

Optional[str]

route_targets

Array of weighted route targets.

stability :stability: experimental requires: :requires:: minimum of 1

Return type

List[WeightedTargetProps]

route_type

Weather the route is HTTP based.

default :default: - HTTP if prefix is given, TCP otherwise

stability :stability: experimental

Return type

Optional[RouteType]