# VirtualRouterListenerProperty

An object that represents a virtual router listener.

- 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 virtualRouterListenerProperty: appmesh.CfnVirtualRouter.VirtualRouterListenerProperty = {
  portMapping: {
    port: 123,
    protocol: 'protocol',
  },
};
```

## Properties

- `portMapping`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnVirtualRouter.PortMappingProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_appmesh.CfnVirtualRouter.PortMappingProperty.html) (required) — The port mapping information for the listener.
