libZSservicesZSamazonka-appmeshZSamazonka-appmesh
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AppMesh.Types.HttpGatewayRouteMatch

Description

 
Synopsis

Documentation

data HttpGatewayRouteMatch Source #

An object that represents the criteria for determining a request match.

See: newHttpGatewayRouteMatch smart constructor.

Constructors

HttpGatewayRouteMatch' 

Fields

Instances

Instances details
Eq HttpGatewayRouteMatch Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpGatewayRouteMatch

Read HttpGatewayRouteMatch Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpGatewayRouteMatch

Show HttpGatewayRouteMatch Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpGatewayRouteMatch

Generic HttpGatewayRouteMatch Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpGatewayRouteMatch

Associated Types

type Rep HttpGatewayRouteMatch :: Type -> Type #

NFData HttpGatewayRouteMatch Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpGatewayRouteMatch

Methods

rnf :: HttpGatewayRouteMatch -> () #

Hashable HttpGatewayRouteMatch Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpGatewayRouteMatch

ToJSON HttpGatewayRouteMatch Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpGatewayRouteMatch

FromJSON HttpGatewayRouteMatch Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpGatewayRouteMatch

type Rep HttpGatewayRouteMatch Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpGatewayRouteMatch

newHttpGatewayRouteMatch :: HttpGatewayRouteMatch Source #

Create a value of HttpGatewayRouteMatch with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:hostname:HttpGatewayRouteMatch', httpGatewayRouteMatch_hostname - The host name to match on.

$sel:path:HttpGatewayRouteMatch', httpGatewayRouteMatch_path - The path to match on.

$sel:prefix:HttpGatewayRouteMatch', httpGatewayRouteMatch_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 is my-service.local and you want the route to match requests to my-service.local/metrics, your prefix should be /metrics.

$sel:queryParameters:HttpGatewayRouteMatch', httpGatewayRouteMatch_queryParameters - The query parameter to match on.

$sel:headers:HttpGatewayRouteMatch', httpGatewayRouteMatch_headers - The client request headers to match on.

$sel:method:HttpGatewayRouteMatch', httpGatewayRouteMatch_method - The method to match on.

httpGatewayRouteMatch_prefix :: Lens' HttpGatewayRouteMatch (Maybe Text) Source #

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.