# CommonGatewayRouteSpecOptions

Base options for all gateway route specs.

- Source: [`aws-appmesh/lib/gateway-route-spec.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/aws-cdk-lib/aws-appmesh/lib/gateway-route-spec.ts#L165)
- Type last changed: v2.2.0 · 15 Dec 2021

## 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 commonGatewayRouteSpecOptions: appmesh.CommonGatewayRouteSpecOptions = {
  priority: 123,
};
```

## Properties

- `priority`: number — The priority for the gateway route.

  **Default:** no particular priority

  When a Virtual Gateway has multiple gateway routes, gateway route match
  is performed in the order of specified value, where 0 is the highest priority,
  and first matched gateway route is selected.
