# GatewayRouteMetadataMatchProperty

An object representing the method header to be matched.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// 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 gatewayRouteMetadataMatchProperty: appmesh.CfnGatewayRoute.GatewayRouteMetadataMatchProperty = {
  exact: 'exact',
  prefix: 'prefix',
  range: {
    end: 123,
    start: 123,
  },
  regex: 'regex',
  suffix: 'suffix',
};
```

## Properties

- `exact`: string — The exact method header to be matched on.

- `prefix`: string — The specified beginning characters of the method header to be matched on.

- `range`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnGatewayRoute.GatewayRouteRangeMatchProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_appmesh.CfnGatewayRoute.GatewayRouteRangeMatchProperty.html) — An object that represents the range of values to match on.

- `regex`: string — The regex used to match the method header.

- `suffix`: string — The specified ending characters of the method header to match on.
