Interface CfnRoute.UriPathRouteInputProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRoute.UriPathRouteInputProperty.Jsii$Proxy
- Enclosing class:
- CfnRoute
@Stability(Stable)
public static interface CfnRoute.UriPathRouteInputProperty
extends software.amazon.jsii.JsiiSerializable
The configuration for the URI path route type.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.refactorspaces.*; UriPathRouteInputProperty uriPathRouteInputProperty = UriPathRouteInputProperty.builder() .activationState("activationState") // the properties below are optional .appendSourcePath(false) .includeChildPaths(false) .methods(List.of("methods")) .sourcePath("sourcePath") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnRoute.UriPathRouteInputProperty
static final class
An implementation forCfnRoute.UriPathRouteInputProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
If set toACTIVE
, traffic is forwarded to this route’s service after the route is created.default Object
If set totrue
, this option appends the source path to the service URL endpoint.default Object
Indicates whether to match all subpaths of the given source path.A list of HTTP methods to match.default String
This is the path that Refactor Spaces uses to match traffic.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActivationState
If set toACTIVE
, traffic is forwarded to this route’s service after the route is created. -
getAppendSourcePath
If set totrue
, this option appends the source path to the service URL endpoint. -
getIncludeChildPaths
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. -
getMethods
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.
-
getSourcePath
This is the path that Refactor Spaces uses to match traffic.Paths must start with
/
and are relative to the base of the application. To use path parameters in the source path, add a variable in curly braces. For example, the resource path {user} represents a path parameter called 'user'. -
builder
-