Skip to content
v2.274.0

PortMappingProperty Struct ​

An object representing a virtual router listener port mapping.

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 portMappingProperty: appmesh.CfnVirtualRouter.PortMappingProperty = {
  port: 123,
  protocol: 'protocol',
};

Properties ​

portnumberportint | floatportNumberPortdoublePort*float64required#
The port used for the port mapping.
protocolstringprotocolstrprotocolStringProtocolstringProtocol*stringrequired#
The protocol used for the port mapping.

Specify one protocol.