Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data RouteSpec = RouteSpec' {}
- newRouteSpec :: RouteSpec
- routeSpec_priority :: Lens' RouteSpec (Maybe Natural)
- routeSpec_http2Route :: Lens' RouteSpec (Maybe HttpRoute)
- routeSpec_grpcRoute :: Lens' RouteSpec (Maybe GrpcRoute)
- routeSpec_tcpRoute :: Lens' RouteSpec (Maybe TcpRoute)
- routeSpec_httpRoute :: Lens' RouteSpec (Maybe HttpRoute)
Documentation
An object that represents a route specification. Specify one route type.
See: newRouteSpec
smart constructor.
RouteSpec' | |
|
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:priority:RouteSpec'
, routeSpec_priority
- The priority for the route. Routes are matched based on the specified
value, where 0 is the highest priority.
$sel:http2Route:RouteSpec'
, routeSpec_http2Route
- An object that represents the specification of an HTTP/2 route.
$sel:grpcRoute:RouteSpec'
, routeSpec_grpcRoute
- An object that represents the specification of a gRPC route.
$sel:tcpRoute:RouteSpec'
, routeSpec_tcpRoute
- An object that represents the specification of a TCP route.
$sel:httpRoute:RouteSpec'
, routeSpec_httpRoute
- An object that represents the specification of an HTTP route.
routeSpec_priority :: Lens' RouteSpec (Maybe Natural) Source #
The priority for the route. Routes are matched based on the specified value, where 0 is the highest priority.
routeSpec_http2Route :: Lens' RouteSpec (Maybe HttpRoute) Source #
An object that represents the specification of an HTTP/2 route.
routeSpec_grpcRoute :: Lens' RouteSpec (Maybe GrpcRoute) Source #
An object that represents the specification of a gRPC route.