HttpGatewayRoutePathMatchConfig

class aws_cdk.aws_appmesh.HttpGatewayRoutePathMatchConfig(*, prefix_path_match=None, prefix_path_rewrite=None, whole_path_match=None, whole_path_rewrite=None)

Bases: object

The type returned from the bind() method in {@link HttpGatewayRoutePathMatch}.

Parameters
  • prefix_path_match (Optional[str]) – Gateway 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

  • prefix_path_rewrite (Optional[HttpGatewayRoutePrefixRewriteProperty]) – Gateway route configuration for rewriting the prefix of the URL path of the request. Default: - rewrites the request’s URL path to ‘/’

  • whole_path_match (Optional[HttpPathMatchProperty]) – Gateway route configuration for matching on the complete URL path of the request. Default: - no matching will be performed on the complete URL path

  • whole_path_rewrite (Optional[HttpGatewayRoutePathRewriteProperty]) – Gateway route configuration for rewriting the complete URL path of the request.. Default: - no rewrite will be performed on the request’s complete URL path

Attributes

prefix_path_match

Gateway 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

Return type

Optional[str]

prefix_path_rewrite

Gateway route configuration for rewriting the prefix of the URL path of the request.

Default
  • rewrites the request’s URL path to ‘/’

Return type

Optional[HttpGatewayRoutePrefixRewriteProperty]

whole_path_match

Gateway route configuration for matching on the complete URL path of the request.

Default
  • no matching will be performed on the complete URL path

Return type

Optional[HttpPathMatchProperty]

whole_path_rewrite

Gateway route configuration for rewriting the complete URL path of the request..

Default
  • no rewrite will be performed on the request’s complete URL path

Return type

Optional[HttpGatewayRoutePathRewriteProperty]