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

Description

 
Synopsis

Documentation

data GatewayRouteSpec Source #

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

See: newGatewayRouteSpec smart constructor.

Constructors

GatewayRouteSpec' 

Fields

Instances

Instances details
Eq GatewayRouteSpec Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GatewayRouteSpec

Read GatewayRouteSpec Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GatewayRouteSpec

Show GatewayRouteSpec Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GatewayRouteSpec

Generic GatewayRouteSpec Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GatewayRouteSpec

Associated Types

type Rep GatewayRouteSpec :: Type -> Type #

NFData GatewayRouteSpec Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GatewayRouteSpec

Methods

rnf :: GatewayRouteSpec -> () #

Hashable GatewayRouteSpec Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GatewayRouteSpec

ToJSON GatewayRouteSpec Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GatewayRouteSpec

FromJSON GatewayRouteSpec Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GatewayRouteSpec

type Rep GatewayRouteSpec Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GatewayRouteSpec

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

newGatewayRouteSpec :: GatewayRouteSpec Source #

Create a value of GatewayRouteSpec 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:GatewayRouteSpec', gatewayRouteSpec_priority - The ordering of the gateway routes spec.

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

$sel:grpcRoute:GatewayRouteSpec', gatewayRouteSpec_grpcRoute - An object that represents the specification of a gRPC gateway route.

$sel:httpRoute:GatewayRouteSpec', gatewayRouteSpec_httpRoute - An object that represents the specification of an HTTP gateway route.

gatewayRouteSpec_priority :: Lens' GatewayRouteSpec (Maybe Natural) Source #

The ordering of the gateway routes spec.

gatewayRouteSpec_http2Route :: Lens' GatewayRouteSpec (Maybe HttpGatewayRoute) Source #

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

gatewayRouteSpec_grpcRoute :: Lens' GatewayRouteSpec (Maybe GrpcGatewayRoute) Source #

An object that represents the specification of a gRPC gateway route.

gatewayRouteSpec_httpRoute :: Lens' GatewayRouteSpec (Maybe HttpGatewayRoute) Source #

An object that represents the specification of an HTTP gateway route.