HttpGatewayRouteMatch

class aws_cdk.aws_appmesh.HttpGatewayRouteMatch(*, prefix_path)

Bases: object

(experimental) The criterion for determining a request match for this GatewayRoute.

Parameters

prefix_path (str) – (experimental) Specifies the path to match requests with. This parameter must always start with /, which by itself matches all requests to the virtual service name. You can also match for path-based routing of requests. For example, if your virtual service name is my-service.local and you want the route to match requests to my-service.local/metrics, your prefix should be /metrics.

Stability

experimental

Attributes

prefix_path

(experimental) Specifies the path to match requests with.

This parameter must always start with /, which by itself matches all requests to the virtual service name. You can also match for path-based routing of requests. For example, if your virtual service name is my-service.local and you want the route to match requests to my-service.local/metrics, your prefix should be /metrics.

Stability

experimental

Return type

str