# VirtualRouterSpecProperty

An object that represents the specification of a virtual router.

- 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 virtualRouterSpecProperty: appmesh.CfnVirtualRouter.VirtualRouterSpecProperty = {
  listeners: [{
    portMapping: {
      port: 123,
      protocol: 'protocol',
    },
  }],
};
```

## Properties

- `listeners`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnVirtualRouter.VirtualRouterListenerProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_appmesh.CfnVirtualRouter.VirtualRouterListenerProperty.html)[] (required) — The listeners that the virtual router is expected to receive inbound traffic from.
