aws-cdk-lib.aws_appmesh.CfnVirtualRouter.VirtualRouterSpecProperty

interface VirtualRouterSpecProperty

LanguageType name
.NETAmazon.CDK.AWS.AppMesh.CfnVirtualRouter.VirtualRouterSpecProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#CfnVirtualRouter_VirtualRouterSpecProperty
Javasoftware.amazon.awscdk.services.appmesh.CfnVirtualRouter.VirtualRouterSpecProperty
Pythonaws_cdk.aws_appmesh.CfnVirtualRouter.VirtualRouterSpecProperty
TypeScript aws-cdk-lib » aws_appmesh » CfnVirtualRouter » VirtualRouterSpecProperty

An object that represents the specification of a virtual router.

Example

// 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

NameTypeDescription
listenersIResolvable | IResolvable | VirtualRouterListenerProperty[]The listeners that the virtual router is expected to receive inbound traffic from.

listeners

Type: IResolvable | IResolvable | VirtualRouterListenerProperty[]

The listeners that the virtual router is expected to receive inbound traffic from.