

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::AppMesh::Route HttpPathMatch
<a name="aws-properties-appmesh-route-httppathmatch"></a>

An object representing the path to match in the request.

## Syntax
<a name="aws-properties-appmesh-route-httppathmatch-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-appmesh-route-httppathmatch-syntax.json"></a>

```
{
  "[Exact](#cfn-appmesh-route-httppathmatch-exact)" : String,
  "[Regex](#cfn-appmesh-route-httppathmatch-regex)" : String
}
```

### YAML
<a name="aws-properties-appmesh-route-httppathmatch-syntax.yaml"></a>

```
  [Exact](#cfn-appmesh-route-httppathmatch-exact): String
  [Regex](#cfn-appmesh-route-httppathmatch-regex): String
```

## Properties
<a name="aws-properties-appmesh-route-httppathmatch-properties"></a>

`Exact`  <a name="cfn-appmesh-route-httppathmatch-exact"></a>
The exact path to match on.  
*Required*: No  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `255`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Regex`  <a name="cfn-appmesh-route-httppathmatch-regex"></a>
The regex used to match the path.  
*Required*: No  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `255`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)