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 {@link 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 pathwhole_path_match (
Optional
[HttpPathMatchProperty
]) – 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. import aws_cdk.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
- Return type
Optional
[str
]
-
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
- Return type
Optional
[HttpPathMatchProperty
]