HttpGatewayRouteMatch - Amazon App Mesh
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

HttpGatewayRouteMatch

An object that represents the criteria for determining a request match.

Contents

headers

The client request headers to match on.

Type: Array of HttpGatewayRouteHeader objects

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

Required: No

hostname

The host name to match on.

Type: GatewayRouteHostnameMatch object

Required: No

method

The method to match on.

Type: String

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

Required: No

path

The path to match on.

Type: HttpPathMatch object

Required: No

port

The port number to match on.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 65535.

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: No

queryParameters

The query parameter to match on.

Type: Array of HttpQueryParameter objects

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

Required: No

See Also

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