Class: Aws::AppMesh::Types::HttpRouteMatch
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::HttpRouteMatch
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-appmesh/types.rb
Overview
An object that represents the requirements for a route to match HTTP requests for a virtual router.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#headers ⇒ Array<Types::HttpRouteHeader>
The client request headers to match on.
-
#method ⇒ String
The client request method to match on.
-
#path ⇒ Types::HttpPathMatch
The client request path to match on.
-
#port ⇒ Integer
The port number to match on.
-
#prefix ⇒ String
Specifies the path to match requests with.
-
#query_parameters ⇒ Array<Types::HttpQueryParameter>
The client request query parameters to match on.
-
#scheme ⇒ String
The client request scheme to match on.
Instance Attribute Details
#headers ⇒ Array<Types::HttpRouteHeader>
The client request headers to match on.
2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 |
# File 'lib/aws-sdk-appmesh/types.rb', line 2617 class HttpRouteMatch < Struct.new( :headers, :method, :path, :port, :prefix, :query_parameters, :scheme) SENSITIVE = [] include Aws::Structure end |
#method ⇒ String
The client request method to match on. Specify only one.
2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 |
# File 'lib/aws-sdk-appmesh/types.rb', line 2617 class HttpRouteMatch < Struct.new( :headers, :method, :path, :port, :prefix, :query_parameters, :scheme) SENSITIVE = [] include Aws::Structure end |
#path ⇒ Types::HttpPathMatch
The client request path to match on.
2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 |
# File 'lib/aws-sdk-appmesh/types.rb', line 2617 class HttpRouteMatch < Struct.new( :headers, :method, :path, :port, :prefix, :query_parameters, :scheme) SENSITIVE = [] include Aws::Structure end |
#port ⇒ Integer
The port number to match on.
2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 |
# File 'lib/aws-sdk-appmesh/types.rb', line 2617 class HttpRouteMatch < Struct.new( :headers, :method, :path, :port, :prefix, :query_parameters, :scheme) SENSITIVE = [] include Aws::Structure end |
#prefix ⇒ String
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`.
2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 |
# File 'lib/aws-sdk-appmesh/types.rb', line 2617 class HttpRouteMatch < Struct.new( :headers, :method, :path, :port, :prefix, :query_parameters, :scheme) SENSITIVE = [] include Aws::Structure end |
#query_parameters ⇒ Array<Types::HttpQueryParameter>
The client request query parameters to match on.
2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 |
# File 'lib/aws-sdk-appmesh/types.rb', line 2617 class HttpRouteMatch < Struct.new( :headers, :method, :path, :port, :prefix, :query_parameters, :scheme) SENSITIVE = [] include Aws::Structure end |
#scheme ⇒ String
The client request scheme to match on. Specify only one. Applicable only for HTTP2 routes.
2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 |
# File 'lib/aws-sdk-appmesh/types.rb', line 2617 class HttpRouteMatch < Struct.new( :headers, :method, :path, :port, :prefix, :query_parameters, :scheme) SENSITIVE = [] include Aws::Structure end |