interface HttpRoutePathMatchConfig
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AppMesh.HttpRoutePathMatchConfig |
Java | software.amazon.awscdk.services.appmesh.HttpRoutePathMatchConfig |
Python | aws_cdk.aws_appmesh.HttpRoutePathMatchConfig |
TypeScript (source) | @aws-cdk/aws-appmesh » HttpRoutePathMatchConfig |
Obtainable from
Http.bind()
The type returned from the bind() method in {@link HttpRoutePathMatch}.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as appmesh from '@aws-cdk/aws-appmesh';
const httpRoutePathMatchConfig: appmesh.HttpRoutePathMatchConfig = {
prefixPathMatch: 'prefixPathMatch',
wholePathMatch: {
exact: 'exact',
regex: 'regex',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| prefix | string | Route configuration for matching on the prefix of the URL path of the request. |
| whole | Http | Route configuration for matching on the complete URL path of the request. |
prefixPathMatch?
Type:
string
(optional, default: no matching will be performed on the prefix of the URL path)
Route configuration for matching on the prefix of the URL path of the request.
wholePathMatch?
Type:
Http
(optional, default: no matching will be performed on the complete URL path)
Route configuration for matching on the complete URL path of the request.

.NET
Java
Python
TypeScript (