Interface HttpRoutePathMatchConfig

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
HttpRoutePathMatchConfig.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:46.098Z") @Stability(Stable) public interface HttpRoutePathMatchConfig extends software.amazon.jsii.JsiiSerializable
The type returned from the `bind()` method in HttpRoutePathMatch.

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.*;
 HttpRoutePathMatchConfig httpRoutePathMatchConfig = HttpRoutePathMatchConfig.builder()
         .prefixPathMatch("prefixPathMatch")
         .wholePathMatch(HttpPathMatchProperty.builder()
                 .exact("exact")
                 .regex("regex")
                 .build())
         .build();
 
  • Method Details

    • getPrefixPathMatch

      @Stability(Stable) @Nullable default String getPrefixPathMatch()
      Route configuration for matching on the prefix of the URL path of the request.

      Default: - no matching will be performed on the prefix of the URL path

    • getWholePathMatch

      @Stability(Stable) @Nullable default CfnRoute.HttpPathMatchProperty getWholePathMatch()
      Route configuration for matching on the complete URL path of the request.

      Default: - no matching will be performed on the complete URL path

    • builder

      @Stability(Stable) static HttpRoutePathMatchConfig.Builder builder()
      Returns:
      a HttpRoutePathMatchConfig.Builder of HttpRoutePathMatchConfig