aws-cdk-lib.aws_appmesh.CfnGatewayRoute.HttpPathMatchProperty

interface HttpPathMatchProperty

LanguageType name
.NETAmazon.CDK.AWS.AppMesh.CfnGatewayRoute.HttpPathMatchProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#CfnGatewayRoute_HttpPathMatchProperty
Javasoftware.amazon.awscdk.services.appmesh.CfnGatewayRoute.HttpPathMatchProperty
Pythonaws_cdk.aws_appmesh.CfnGatewayRoute.HttpPathMatchProperty
TypeScript aws-cdk-lib » aws_appmesh » CfnGatewayRoute » HttpPathMatchProperty

An object representing the path to match in the request.

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 httpPathMatchProperty: appmesh.CfnGatewayRoute.HttpPathMatchProperty = {
  exact: 'exact',
  regex: 'regex',
};

Properties

NameTypeDescription
exact?stringThe exact path to match on.
regex?stringThe regex used to match the path.

exact?

Type: string (optional)

The exact path to match on.


regex?

Type: string (optional)

The regex used to match the path.