Class CfnVirtualRouter.PortMappingProperty
An object representing a virtual router listener port mapping.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnVirtualRouter.PortMappingProperty : CfnVirtualRouter.IPortMappingProperty
Syntax (vb)
Public Class CfnVirtualRouter.PortMappingProperty Implements CfnVirtualRouter.IPortMappingProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppMesh;
var portMappingProperty = new PortMappingProperty {
Port = 123,
Protocol = "protocol"
};
Synopsis
Constructors
PortMappingProperty() | An object representing a virtual router listener port mapping. |
Properties
Port | The port used for the port mapping. |
Protocol | The protocol used for the port mapping. |
Constructors
PortMappingProperty()
An object representing a virtual router listener port mapping.
public PortMappingProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppMesh;
var portMappingProperty = new PortMappingProperty {
Port = 123,
Protocol = "protocol"
};
Properties
Port
The port used for the port mapping.
public double Port { get; set; }
Property Value
Remarks
Protocol
The protocol used for the port mapping.
public string Protocol { get; set; }