# VirtualServiceSpecProperty

An object that represents the specification of a virtual service.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## 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 virtualServiceSpecProperty: appmesh.CfnVirtualService.VirtualServiceSpecProperty = {
  provider: {
    virtualNode: {
      virtualNodeName: 'virtualNodeName',
    },
    virtualRouter: {
      virtualRouterName: 'virtualRouterName',
    },
  },
};
```

## Properties

- `provider`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnVirtualService.VirtualServiceProviderProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_appmesh.CfnVirtualService.VirtualServiceProviderProperty.html) — The App Mesh object that is acting as the provider for a virtual service.

  You can specify a single virtual node or virtual router.
