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.RouteSpec

Description

 
Synopsis

Documentation

data RouteSpec Source #

An object that represents a route specification. Specify one route type.

See: newRouteSpec smart constructor.

Constructors

RouteSpec' 

Fields

Instances

Instances details
Eq RouteSpec Source # 
Instance details

Defined in Amazonka.AppMesh.Types.RouteSpec

Read RouteSpec Source # 
Instance details

Defined in Amazonka.AppMesh.Types.RouteSpec

Show RouteSpec Source # 
Instance details

Defined in Amazonka.AppMesh.Types.RouteSpec

Generic RouteSpec Source # 
Instance details

Defined in Amazonka.AppMesh.Types.RouteSpec

Associated Types

type Rep RouteSpec :: Type -> Type #

NFData RouteSpec Source # 
Instance details

Defined in Amazonka.AppMesh.Types.RouteSpec

Methods

rnf :: RouteSpec -> () #

Hashable RouteSpec Source # 
Instance details

Defined in Amazonka.AppMesh.Types.RouteSpec

ToJSON RouteSpec Source # 
Instance details

Defined in Amazonka.AppMesh.Types.RouteSpec

FromJSON RouteSpec Source # 
Instance details

Defined in Amazonka.AppMesh.Types.RouteSpec

type Rep RouteSpec Source # 
Instance details

Defined in Amazonka.AppMesh.Types.RouteSpec

type Rep RouteSpec = D1 ('MetaData "RouteSpec" "Amazonka.AppMesh.Types.RouteSpec" "libZSservicesZSamazonka-appmeshZSamazonka-appmesh" 'False) (C1 ('MetaCons "RouteSpec'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "priority") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "http2Route") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HttpRoute))) :*: (S1 ('MetaSel ('Just "grpcRoute") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GrpcRoute)) :*: (S1 ('MetaSel ('Just "tcpRoute") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TcpRoute)) :*: S1 ('MetaSel ('Just "httpRoute") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HttpRoute))))))

newRouteSpec :: RouteSpec Source #

Create a value of RouteSpec 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:priority:RouteSpec', routeSpec_priority - The priority for the route. Routes are matched based on the specified value, where 0 is the highest priority.

$sel:http2Route:RouteSpec', routeSpec_http2Route - An object that represents the specification of an HTTP/2 route.

$sel:grpcRoute:RouteSpec', routeSpec_grpcRoute - An object that represents the specification of a gRPC route.

$sel:tcpRoute:RouteSpec', routeSpec_tcpRoute - An object that represents the specification of a TCP route.

$sel:httpRoute:RouteSpec', routeSpec_httpRoute - An object that represents the specification of an HTTP route.

routeSpec_priority :: Lens' RouteSpec (Maybe Natural) Source #

The priority for the route. Routes are matched based on the specified value, where 0 is the highest priority.

routeSpec_http2Route :: Lens' RouteSpec (Maybe HttpRoute) Source #

An object that represents the specification of an HTTP/2 route.

routeSpec_grpcRoute :: Lens' RouteSpec (Maybe GrpcRoute) Source #

An object that represents the specification of a gRPC route.

routeSpec_tcpRoute :: Lens' RouteSpec (Maybe TcpRoute) Source #

An object that represents the specification of a TCP route.

routeSpec_httpRoute :: Lens' RouteSpec (Maybe HttpRoute) Source #

An object that represents the specification of an HTTP route.