interface VirtualGatewayPortMappingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayPortMappingProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappmesh/mixins#CfnVirtualGatewayPropsMixin_VirtualGatewayPortMappingProperty |
Java | software.amazon.awscdk.mixins.preview.services.appmesh.mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayPortMappingProperty |
Python | aws_cdk.mixins_preview.aws_appmesh.mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayPortMappingProperty |
TypeScript | @aws-cdk/mixins-preview » aws_appmesh » mixins » CfnVirtualGatewayPropsMixin » 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 { mixins as appmesh_mixins } from '@aws-cdk/mixins-preview/aws-appmesh';
const virtualGatewayPortMappingProperty: appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayPortMappingProperty = {
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.
Specify one protocol.
protocol?
Type:
string
(optional)
The protocol used for the port mapping.

.NET
Go
Java
Python
TypeScript