Class: Aws::AppMesh::Types::HttpRouteMatch

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appmesh/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

Instance Attribute Details

#headersArray<Types::HttpRouteHeader>

The client request headers to match on.

Returns:



2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
# File 'gems/aws-sdk-appmesh/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

#methodString

The client request method to match on. Specify only one.

Returns:

  • (String)


2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
# File 'gems/aws-sdk-appmesh/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

#pathTypes::HttpPathMatch

The client request path to match on.



2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
# File 'gems/aws-sdk-appmesh/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

#portInteger

The port number to match on.

Returns:

  • (Integer)


2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
# File 'gems/aws-sdk-appmesh/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

#prefixString

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.

Returns:

  • (String)


2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
# File 'gems/aws-sdk-appmesh/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_parametersArray<Types::HttpQueryParameter>

The client request query parameters to match on.

Returns:



2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
# File 'gems/aws-sdk-appmesh/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

#schemeString

The client request scheme to match on. Specify only one. Applicable only for HTTP2 routes.

Returns:

  • (String)


2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
# File 'gems/aws-sdk-appmesh/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