AWS App Mesh
API Reference (API Version 2019-01-25)

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

HttpRouteMatch

An object representing the requirements for a route to match HTTP requests for a virtual router.

Contents

headers

The client request headers to match on.

Type: Array of HttpRouteHeader objects

Array Members: Minimum number of 1 item. Maximum number of 10 items.

Required: No

method

The client request header method to match on.

Type: String

Valid Values: GET | HEAD | POST | PUT | DELETE | CONNECT | OPTIONS | TRACE | PATCH

Required: No

prefix

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.

Type: String

Required: Yes

scheme

The client request header scheme to match on.

Type: String

Valid Values: http | https

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: