HttpGatewayRouteMatch
import type { HttpGatewayRouteMatch } from "https://aws-api.deno.dev/v0.3/services/appmesh.ts?docs=full";
An object that represents the criteria for determining a request match.
interface HttpGatewayRouteMatch {
headers?: HttpGatewayRouteHeader[] | null;
hostname?: GatewayRouteHostnameMatch | null;
method?: HttpMethod | null;
path?: HttpPathMatch | null;
prefix?: string | null;
queryParameters?: HttpQueryParameter[] | null;
}§Properties
§
headers?: HttpGatewayRouteHeader[] | null
[src]The client request headers to match on.
§
hostname?: GatewayRouteHostnameMatch | null
[src]The host name to match on.
§
method?: HttpMethod | null
[src]The method to match on.
§
path?: HttpPathMatch | null
[src]The path to match on.
§
prefix?: string | null
[src]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
.
§
queryParameters?: HttpQueryParameter[] | null
[src]The query parameter to match on.