aws-cdk-lib.aws_appmesh.HttpGatewayRoutePathMatchConfig

interface HttpGatewayRoutePathMatchConfig

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

Obtainable from HttpGatewayRoutePathMatch.bind()

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

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 httpGatewayRoutePathMatchConfig: appmesh.HttpGatewayRoutePathMatchConfig = {
  prefixPathMatch: 'prefixPathMatch',
  prefixPathRewrite: {
    defaultPrefix: 'defaultPrefix',
    value: 'value',
  },
  wholePathMatch: {
    exact: 'exact',
    regex: 'regex',
  },
  wholePathRewrite: {
    exact: 'exact',
  },
};

Properties

NameTypeDescription
prefixPathMatch?stringGateway route configuration for matching on the prefix of the URL path of the request.
prefixPathRewrite?HttpGatewayRoutePrefixRewritePropertyGateway route configuration for rewriting the prefix of the URL path of the request.
wholePathMatch?HttpPathMatchPropertyGateway route configuration for matching on the complete URL path of the request.
wholePathRewrite?HttpGatewayRoutePathRewritePropertyGateway route configuration for rewriting the complete URL path of the request..

prefixPathMatch?

Type: string (optional, default: no matching will be performed on the prefix of the URL path)

Gateway route configuration for matching on the prefix of the URL path of the request.


prefixPathRewrite?

Type: HttpGatewayRoutePrefixRewriteProperty (optional, default: rewrites the request's URL path to '/')

Gateway route configuration for rewriting the prefix of the URL path of the request.


wholePathMatch?

Type: HttpPathMatchProperty (optional, default: no matching will be performed on the complete URL path)

Gateway route configuration for matching on the complete URL path of the request.


wholePathRewrite?

Type: HttpGatewayRoutePathRewriteProperty (optional, default: no rewrite will be performed on the request's complete URL path)

Gateway route configuration for rewriting the complete URL path of the request..