| 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.MigrationHubReFactorSpaces.Types.UriPathRouteInput
Description
Synopsis
- data UriPathRouteInput = UriPathRouteInput' {}
- newUriPathRouteInput :: RouteActivationState -> Text -> UriPathRouteInput
- uriPathRouteInput_includeChildPaths :: Lens' UriPathRouteInput (Maybe Bool)
- uriPathRouteInput_methods :: Lens' UriPathRouteInput (Maybe [HttpMethod])
- uriPathRouteInput_activationState :: Lens' UriPathRouteInput RouteActivationState
- uriPathRouteInput_sourcePath :: Lens' UriPathRouteInput Text
Documentation
data UriPathRouteInput Source #
The configuration for the URI path route type.
See: newUriPathRouteInput smart constructor.
Constructors
| UriPathRouteInput' | |
Fields
| |
Instances
Arguments
| :: RouteActivationState | |
| -> Text | |
| -> UriPathRouteInput |
Create a value of UriPathRouteInput 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:includeChildPaths:UriPathRouteInput', uriPathRouteInput_includeChildPaths - Indicates whether to match all subpaths of the given source path. If
this value is false, requests must match the source path exactly
before they are forwarded to this route's service.
$sel:methods:UriPathRouteInput', uriPathRouteInput_methods - A list of HTTP methods to match. An empty list matches all values. If a
method is present, only HTTP requests using that method are forwarded to
this route’s service.
$sel:activationState:UriPathRouteInput', uriPathRouteInput_activationState - If set to ACTIVE, traffic is forwarded to this route’s service after
the route is created.
$sel:sourcePath:UriPathRouteInput', uriPathRouteInput_sourcePath - The path to use to match traffic. Paths must start with / and are
relative to the base of the application.
uriPathRouteInput_includeChildPaths :: Lens' UriPathRouteInput (Maybe Bool) Source #
Indicates whether to match all subpaths of the given source path. If
this value is false, requests must match the source path exactly
before they are forwarded to this route's service.
uriPathRouteInput_methods :: Lens' UriPathRouteInput (Maybe [HttpMethod]) Source #
A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.
uriPathRouteInput_activationState :: Lens' UriPathRouteInput RouteActivationState Source #
If set to ACTIVE, traffic is forwarded to this route’s service after
the route is created.
uriPathRouteInput_sourcePath :: Lens' UriPathRouteInput Text Source #
The path to use to match traffic. Paths must start with / and are
relative to the base of the application.