Class: Aws::AppMesh::Types::HttpGatewayRouteMatch

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#headersArray<Types::HttpGatewayRouteHeader>

The client request headers to match on.

Returns:



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

#hostnameTypes::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

#methodString

The method to match on.

Returns:

  • (String)


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

#pathTypes::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

#portInteger

The port number to match on.

Returns:

  • (Integer)


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

#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)


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_parametersArray<Types::HttpQueryParameter>

The query parameter to match on.

Returns:



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