aws-cdk-lib.aws_appmesh.HttpRoutePathMatchConfig

interface HttpRoutePathMatchConfig

LanguageType name
.NETAmazon.CDK.AWS.AppMesh.HttpRoutePathMatchConfig
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#HttpRoutePathMatchConfig
Javasoftware.amazon.awscdk.services.appmesh.HttpRoutePathMatchConfig
Pythonaws_cdk.aws_appmesh.HttpRoutePathMatchConfig
TypeScript (source)aws-cdk-lib » aws_appmesh » HttpRoutePathMatchConfig

Obtainable from HttpRoutePathMatch.bind()

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 { aws_appmesh as appmesh } from 'aws-cdk-lib';
const httpRoutePathMatchConfig: appmesh.HttpRoutePathMatchConfig = {
  prefixPathMatch: 'prefixPathMatch',
  wholePathMatch: {
    exact: 'exact',
    regex: 'regex',
  },
};

Properties

NameTypeDescription
prefixPathMatch?stringRoute configuration for matching on the prefix of the URL path of the request.
wholePathMatch?HttpPathMatchPropertyRoute 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: HttpPathMatchProperty (optional, default: no matching will be performed on the complete URL path)

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