Class: Aws::AppMesh::Types::HttpGatewayRouteMatch
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::HttpGatewayRouteMatch
- Defined in:
- gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb
Overview
An object that represents the criteria for determining a request match.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#headers ⇒ Array<Types::HttpGatewayRouteHeader>
The client request headers to match on.
-
#hostname ⇒ Types::GatewayRouteHostnameMatch
The host name to match on.
-
#method ⇒ String
The method to match on.
-
#path ⇒ Types::HttpPathMatch
The 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 query parameter to match on.
Instance Attribute Details
#headers ⇒ Array<Types::HttpGatewayRouteHeader>
The client request headers to match on.
2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 2348 class HttpGatewayRouteMatch < Struct.new( :headers, :hostname, :method, :path, :port, :prefix, :query_parameters) SENSITIVE = [] include Aws::Structure end |
#hostname ⇒ Types::GatewayRouteHostnameMatch
The host name to match on.
2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 2348 class HttpGatewayRouteMatch < Struct.new( :headers, :hostname, :method, :path, :port, :prefix, :query_parameters) SENSITIVE = [] include Aws::Structure end |
#method ⇒ String
The method to match on.
2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 2348 class HttpGatewayRouteMatch < Struct.new( :headers, :hostname, :method, :path, :port, :prefix, :query_parameters) SENSITIVE = [] include Aws::Structure end |
#path ⇒ Types::HttpPathMatch
The path to match on.
2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 2348 class HttpGatewayRouteMatch < Struct.new( :headers, :hostname, :method, :path, :port, :prefix, :query_parameters) SENSITIVE = [] include Aws::Structure end |
#port ⇒ Integer
The port number to match on.
2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 2348 class HttpGatewayRouteMatch < Struct.new( :headers, :hostname, :method, :path, :port, :prefix, :query_parameters) 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
.
2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 2348 class HttpGatewayRouteMatch < Struct.new( :headers, :hostname, :method, :path, :port, :prefix, :query_parameters) SENSITIVE = [] include Aws::Structure end |
#query_parameters ⇒ Array<Types::HttpQueryParameter>
The query parameter to match on.
2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 2348 class HttpGatewayRouteMatch < Struct.new( :headers, :hostname, :method, :path, :port, :prefix, :query_parameters) SENSITIVE = [] include Aws::Structure end |