| 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.RouteSpec
Description
Synopsis
- data RouteSpec = RouteSpec' {}
- newRouteSpec :: RouteSpec
- routeSpec_grpcRoute :: Lens' RouteSpec (Maybe GrpcRoute)
- routeSpec_http2Route :: Lens' RouteSpec (Maybe HttpRoute)
- routeSpec_httpRoute :: Lens' RouteSpec (Maybe HttpRoute)
- routeSpec_priority :: Lens' RouteSpec (Maybe Natural)
- routeSpec_tcpRoute :: Lens' RouteSpec (Maybe TcpRoute)
Documentation
An object that represents a route specification. Specify one route type.
See: newRouteSpec smart constructor.
Constructors
| RouteSpec' | |
Fields
| |
Instances
newRouteSpec :: RouteSpec Source #
Create a value of RouteSpec 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:grpcRoute:RouteSpec', routeSpec_grpcRoute - An object that represents the specification of a gRPC route.
$sel:http2Route:RouteSpec', routeSpec_http2Route - An object that represents the specification of an HTTP/2 route.
$sel:httpRoute:RouteSpec', routeSpec_httpRoute - An object that represents the specification of an HTTP route.
$sel:priority:RouteSpec', routeSpec_priority - The priority for the route. Routes are matched based on the specified
value, where 0 is the highest priority.
$sel:tcpRoute:RouteSpec', routeSpec_tcpRoute - An object that represents the specification of a TCP route.
routeSpec_grpcRoute :: Lens' RouteSpec (Maybe GrpcRoute) Source #
An object that represents the specification of a gRPC route.
routeSpec_http2Route :: Lens' RouteSpec (Maybe HttpRoute) Source #
An object that represents the specification of an HTTP/2 route.
routeSpec_httpRoute :: Lens' RouteSpec (Maybe HttpRoute) Source #
An object that represents the specification of an HTTP route.