interface PortMappingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins.CfnVirtualRouterPropsMixin.PortMappingProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappmesh/mixins#CfnVirtualRouterPropsMixin_PortMappingProperty |
Java | software.amazon.awscdk.mixins.preview.services.appmesh.mixins.CfnVirtualRouterPropsMixin.PortMappingProperty |
Python | aws_cdk.mixins_preview.aws_appmesh.mixins.CfnVirtualRouterPropsMixin.PortMappingProperty |
TypeScript | @aws-cdk/mixins-preview » aws_appmesh » mixins » CfnVirtualRouterPropsMixin » PortMappingProperty |
An object representing a 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 { mixins as appmesh_mixins } from '@aws-cdk/mixins-preview/aws-appmesh';
const portMappingProperty: appmesh_mixins.CfnVirtualRouterPropsMixin.PortMappingProperty = {
port: 123,
protocol: 'protocol',
};
Properties
| Name | Type | Description |
|---|---|---|
| port? | number | The port used for the port mapping. |
| protocol? | string | The protocol used for the port mapping. |
port?
Type:
number
(optional)
The port used for the port mapping.
protocol?
Type:
string
(optional)
The protocol used for the port mapping.
Specify one protocol.

.NET
Go
Java
Python
TypeScript