# RouteAttributes

Interface with properties ncecessary to import a reusable Route.

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

## 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 virtualRouter: appmesh.VirtualRouter;
const routeAttributes: appmesh.RouteAttributes = {
  routeName: 'routeName',
  virtualRouter: virtualRouter,
};
```

## Properties

- `routeName`: string (required) — The name of the Route.

- `virtualRouter`: [IVirtualRouter](/cdk/api/v2/docs/aws-cdk-lib.aws_appmesh.IVirtualRouter.html) (required) — The VirtualRouter the Route belongs to.
