Skip to content
v2.273.0

VirtualRouterSpecProperty Struct ​

An object that represents the specification of a virtual router.

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 ​

listenersIResolvable | IResolvable | CfnVirtualRouter.VirtualRouterListenerProperty[]listenerstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, VirtualRouterListenerProperty]]]listenersIResolvableListenersIResolvableListenersinterface{}required#
The listeners that the virtual router is expected to receive inbound traffic from.