# VirtualServiceAttributes

Interface with properties ncecessary to import a reusable VirtualService.

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

## 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 mesh: appmesh.Mesh;
const virtualServiceAttributes: appmesh.VirtualServiceAttributes = {
  mesh: mesh,
  virtualServiceName: 'virtualServiceName',
};
```

## Properties

- `mesh`: [IMesh](/cdk/api/v2/docs/aws-cdk-lib.aws_appmesh.IMesh.html) (required) — The Mesh which the VirtualService belongs to.

- `virtualServiceName`: string (required) — The name of the VirtualService, it is recommended this follows the fully-qualified domain name format.
