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 ismy-service.local
and you want the route to match requests tomy-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: