@Stability(value=Stable)
public static interface CfnRoute.UriPathRouteInputProperty
extends software.amazon.jsii.JsiiSerializable
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
.includeChildPaths(false)
.methods(List.of("methods"))
.sourcePath("sourcePath")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRoute.UriPathRouteInputProperty.Builder
A builder for
CfnRoute.UriPathRouteInputProperty |
static class |
CfnRoute.UriPathRouteInputProperty.Jsii$Proxy
An implementation for
CfnRoute.UriPathRouteInputProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnRoute.UriPathRouteInputProperty.Builder |
builder() |
String |
getActivationState()
If set to `ACTIVE` , traffic is forwarded to this route’s service after the route is created.
|
default Object |
getIncludeChildPaths()
Indicates whether to match all subpaths of the given source path.
|
default List<String> |
getMethods()
A list of HTTP methods to match.
|
default String |
getSourcePath()
The path to use to match traffic.
|
@Stability(value=Stable) @NotNull String getActivationState()
@Stability(value=Stable) @Nullable default Object getIncludeChildPaths()
If this value is false , requests must match the source path exactly before they are forwarded to this route's service.
@Stability(value=Stable) @Nullable default List<String> getMethods()
An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.
@Stability(value=Stable) @Nullable default String getSourcePath()
Paths must start with / and are relative to the base of the application.
@Stability(value=Stable) static CfnRoute.UriPathRouteInputProperty.Builder builder()
Copyright © 2023. All rights reserved.