amazonka-appmesh-2.0: Amazon App Mesh SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AppMesh.Types.TcpRoute

Description

 
Synopsis

Documentation

data TcpRoute Source #

An object that represents a TCP route type.

See: newTcpRoute smart constructor.

Constructors

TcpRoute' 

Fields

Instances

Instances details
FromJSON TcpRoute Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TcpRoute

ToJSON TcpRoute Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TcpRoute

Generic TcpRoute Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TcpRoute

Associated Types

type Rep TcpRoute :: Type -> Type #

Methods

from :: TcpRoute -> Rep TcpRoute x #

to :: Rep TcpRoute x -> TcpRoute #

Read TcpRoute Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TcpRoute

Show TcpRoute Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TcpRoute

NFData TcpRoute Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TcpRoute

Methods

rnf :: TcpRoute -> () #

Eq TcpRoute Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TcpRoute

Hashable TcpRoute Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TcpRoute

Methods

hashWithSalt :: Int -> TcpRoute -> Int #

hash :: TcpRoute -> Int #

type Rep TcpRoute Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TcpRoute

type Rep TcpRoute = D1 ('MetaData "TcpRoute" "Amazonka.AppMesh.Types.TcpRoute" "amazonka-appmesh-2.0-GBIHUgXnP8s1LEJyvNe1ca" 'False) (C1 ('MetaCons "TcpRoute'" 'PrefixI 'True) (S1 ('MetaSel ('Just "match") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TcpRouteMatch)) :*: (S1 ('MetaSel ('Just "timeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TcpTimeout)) :*: S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TcpRouteAction))))

newTcpRoute Source #

Create a value of TcpRoute 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:match:TcpRoute', tcpRoute_match - An object that represents the criteria for determining a request match.

$sel:timeout:TcpRoute', tcpRoute_timeout - An object that represents types of timeouts.

$sel:action:TcpRoute', tcpRoute_action - The action to take if a match is determined.

tcpRoute_match :: Lens' TcpRoute (Maybe TcpRouteMatch) Source #

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

tcpRoute_timeout :: Lens' TcpRoute (Maybe TcpTimeout) Source #

An object that represents types of timeouts.

tcpRoute_action :: Lens' TcpRoute TcpRouteAction Source #

The action to take if a match is determined.