aws-cdk-lib.aws_appmesh.CfnVirtualGateway.VirtualGatewayPortMappingProperty

interface VirtualGatewayPortMappingProperty

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

An object that represents a 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 virtualGatewayPortMappingProperty: appmesh.CfnVirtualGateway.VirtualGatewayPortMappingProperty = {
  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.

Specify one protocol.


protocol

Type: string

The protocol used for the port mapping.