

# PathMatchType


Describes a path match type. Each rule can include only one of the following types of paths.

## Contents


**Important**  
This data type is a UNION, so only one of the following members can be specified when used or returned.

 ** exact **   <a name="vpclattice-Type-PathMatchType-exact"></a>
An exact match of the path.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 200.  
Pattern: `/[a-zA-Z0-9@:%_+.~#?&/=-]*`   
Required: No

 ** prefix **   <a name="vpclattice-Type-PathMatchType-prefix"></a>
A prefix match of the path.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 200.  
Pattern: `/[a-zA-Z0-9@:%_+.~#?&/=-]*`   
Required: No

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/vpc-lattice-2022-11-30/PathMatchType) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/vpc-lattice-2022-11-30/PathMatchType) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/vpc-lattice-2022-11-30/PathMatchType) 