HttpRoutePathMatchConfig

class aws_cdk.aws_appmesh.HttpRoutePathMatchConfig(*, prefix_path_match=None, whole_path_match=None)

Bases: object

The type returned from the bind() method in HttpRoutePathMatch.

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

  • whole_path_match (Union[HttpPathMatchProperty, Dict[str, Any], None]) – Route configuration for matching on the complete URL path of the request. Default: - no matching will be performed on the complete URL path

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appmesh as appmesh

http_route_path_match_config = appmesh.HttpRoutePathMatchConfig(
    prefix_path_match="prefixPathMatch",
    whole_path_match=appmesh.CfnRoute.HttpPathMatchProperty(
        exact="exact",
        regex="regex"
    )
)

Attributes

prefix_path_match

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

whole_path_match

Route configuration for matching on the complete URL path of the request.

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