AWS::AppMesh::Route HttpRouteMatch
An object that represents the requirements for a route to match HTTP requests for a virtual router.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Headers" :
[ HttpRouteHeader, ... ]
, "Method" :String
, "Prefix" :String
, "Scheme" :String
}
YAML
Headers:
- HttpRouteHeader
Method:String
Prefix:String
Scheme:String
Properties
Headers
-
An object that represents the client request headers to match on.
Required: No
Type: List of HttpRouteHeader
Update requires: No interruption
Method
-
The client request method to match on. Specify only one.
Required: No
Type: String
Update requires: No interruption
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
.Required: Yes
Type: String
Update requires: No interruption
Scheme
-
The client request scheme to match on. Specify only one. Applicable only for HTTP2 routes.
Required: No
Type: String
Update requires: No interruption