interface PortMappingProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppMesh.CfnVirtualRouter.PortMappingProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#CfnVirtualRouter_PortMappingProperty |
![]() | software.amazon.awscdk.services.appmesh.CfnVirtualRouter.PortMappingProperty |
![]() | aws_cdk.aws_appmesh.CfnVirtualRouter.PortMappingProperty |
![]() | aws-cdk-lib » aws_appmesh » CfnVirtualRouter » 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 { aws_appmesh as appmesh } from 'aws-cdk-lib';
const portMappingProperty: appmesh.CfnVirtualRouter.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
The port used for the port mapping.
protocol
Type:
string
The protocol used for the port mapping.
Specify one protocol.