# GatewayRouteAttributes

Interface with properties necessary to import a reusable GatewayRoute.

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

## 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';

declare const virtualGateway: appmesh.VirtualGateway;
const gatewayRouteAttributes: appmesh.GatewayRouteAttributes = {
  gatewayRouteName: 'gatewayRouteName',
  virtualGateway: virtualGateway,
};
```

## Properties

- `gatewayRouteName`: string (required) — The name of the GatewayRoute.

- `virtualGateway`: [IVirtualGateway](/cdk/api/v2/docs/aws-cdk-lib.aws_appmesh.IVirtualGateway.html) (required) — The VirtualGateway this GatewayRoute is associated with.
