| 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.TcpRouteAction
Description
Documentation
data TcpRouteAction Source #
An object that represents the action to take if a match is determined.
See: newTcpRouteAction smart constructor.
Constructors
| TcpRouteAction' | |
Fields
| |
Instances
Create a value of TcpRouteAction 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:weightedTargets:TcpRouteAction', tcpRouteAction_weightedTargets - An object that represents the targets that traffic is routed to when a
request matches the route.
tcpRouteAction_weightedTargets :: Lens' TcpRouteAction (NonEmpty WeightedTarget) Source #
An object that represents the targets that traffic is routed to when a request matches the route.