# AWS::VpcLattice::Rule HttpMatch ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
"Method" : String,
"PathMatch" : PathMatch,
"HeaderMatches" : [ HeaderMatch, ... ]
}
### YAML
Method: String
PathMatch: PathMatch
HeaderMatches:
- HeaderMatch
## Properties
#### Method
_Required_: No
_Type_: String
_Allowed Values_: CONNECT | DELETE | GET | HEAD | OPTIONS | POST | PUT | TRACE
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### PathMatch
_Required_: No
_Type_: PathMatch
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### HeaderMatches
_Required_: No
_Type_: List of HeaderMatch
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)