# HeaderMatchConfig

Configuration for `HeaderMatch`.

- Source: [`aws-appmesh/lib/header-match.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-appmesh/lib/header-match.ts#L7)

## 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 headerMatchConfig: appmesh.HeaderMatchConfig = {
  headerMatch: {
    name: 'name',

    // the properties below are optional
    invert: false,
    match: {
      exact: 'exact',
      prefix: 'prefix',
      range: {
        end: 123,
        start: 123,
      },
      regex: 'regex',
      suffix: 'suffix',
    },
  },
};
```

## Properties

- `headerMatch`: [CfnRoute.HttpRouteHeaderProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_appmesh.CfnRoute.HttpRouteHeaderProperty.html) (required) — Route CFN configuration for the route header match.
