aws-cdk-lib.aws_appmesh.CfnVirtualNode.PortMappingProperty

interface PortMappingProperty

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

An object representing a virtual node or virtual router listener port mapping.

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

Properties

NameTypeDescription
portnumberThe port used for the port mapping.
protocolstringThe protocol used for the port mapping.

port

Type: number

The port used for the port mapping.


protocol

Type: string

The protocol used for the port mapping.

Specify http , http2 , grpc , or tcp .