@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.553Z") @Stability(value=Stable) public interface HttpGatewayRoutePathMatchConfig extends software.amazon.jsii.JsiiSerializable
HttpGatewayRoutePathMatch.
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.appmesh.*;
HttpGatewayRoutePathMatchConfig httpGatewayRoutePathMatchConfig = HttpGatewayRoutePathMatchConfig.builder()
.prefixPathMatch("prefixPathMatch")
.prefixPathRewrite(HttpGatewayRoutePrefixRewriteProperty.builder()
.defaultPrefix("defaultPrefix")
.value("value")
.build())
.wholePathMatch(HttpPathMatchProperty.builder()
.exact("exact")
.regex("regex")
.build())
.wholePathRewrite(HttpGatewayRoutePathRewriteProperty.builder()
.exact("exact")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
HttpGatewayRoutePathMatchConfig.Builder
A builder for
HttpGatewayRoutePathMatchConfig |
static class |
HttpGatewayRoutePathMatchConfig.Jsii$Proxy
An implementation for
HttpGatewayRoutePathMatchConfig |
| Modifier and Type | Method and Description |
|---|---|
static HttpGatewayRoutePathMatchConfig.Builder |
builder() |
default String |
getPrefixPathMatch()
Gateway route configuration for matching on the prefix of the URL path of the request.
|
default CfnGatewayRoute.HttpGatewayRoutePrefixRewriteProperty |
getPrefixPathRewrite()
Gateway route configuration for rewriting the prefix of the URL path of the request.
|
default CfnGatewayRoute.HttpPathMatchProperty |
getWholePathMatch()
Gateway route configuration for matching on the complete URL path of the request.
|
default CfnGatewayRoute.HttpGatewayRoutePathRewriteProperty |
getWholePathRewrite()
Gateway route configuration for rewriting the complete URL path of the request..
|
@Stability(value=Stable) @Nullable default String getPrefixPathMatch()
Default: - no matching will be performed on the prefix of the URL path
@Stability(value=Stable) @Nullable default CfnGatewayRoute.HttpGatewayRoutePrefixRewriteProperty getPrefixPathRewrite()
Default: - rewrites the request's URL path to '/'
@Stability(value=Stable) @Nullable default CfnGatewayRoute.HttpPathMatchProperty getWholePathMatch()
Default: - no matching will be performed on the complete URL path
@Stability(value=Stable) @Nullable default CfnGatewayRoute.HttpGatewayRoutePathRewriteProperty getWholePathRewrite()
Default: - no rewrite will be performed on the request's complete URL path
@Stability(value=Stable) static HttpGatewayRoutePathMatchConfig.Builder builder()
Copyright © 2022. All rights reserved.