| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AppMesh.Types.TcpRoute
Description
Synopsis
Documentation
An object that represents a TCP route type.
See: newTcpRoute smart constructor.
Constructors
| TcpRoute' | |
Fields
| |
Instances
| FromJSON TcpRoute Source # | |
| ToJSON TcpRoute Source # | |
Defined in Amazonka.AppMesh.Types.TcpRoute | |
| Generic TcpRoute Source # | |
| Read TcpRoute Source # | |
| Show TcpRoute Source # | |
| NFData TcpRoute Source # | |
Defined in Amazonka.AppMesh.Types.TcpRoute | |
| Eq TcpRoute Source # | |
| Hashable TcpRoute Source # | |
Defined in Amazonka.AppMesh.Types.TcpRoute | |
| type Rep TcpRoute Source # | |
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)))) | |
Arguments
| :: TcpRouteAction | |
| -> TcpRoute |
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.