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

HttpRouteMatch

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

Contents

headers

An object that represents 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 method to match on. Specify only one.

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 scheme to match on. Specify only one.

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: