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