# GatewayRouteHostnameMatchConfig

Configuration for gateway route host name match.

- Source: [`aws-appmesh/lib/gateway-route-spec.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-appmesh/lib/gateway-route-spec.ts#L14)

## 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 gatewayRouteHostnameMatchConfig: appmesh.GatewayRouteHostnameMatchConfig = {
  hostnameMatch: {
    exact: 'exact',
    suffix: 'suffix',
  },
};
```

## Properties

- `hostnameMatch`: [CfnGatewayRoute.GatewayRouteHostnameMatchProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_appmesh.CfnGatewayRoute.GatewayRouteHostnameMatchProperty.html) (required) — GatewayRoute CFN configuration for host name match.
