Class CfnVirtualRouter.PortMappingProperty
An object representing a virtual router listener port mapping.
Inheritance
System.Object
CfnVirtualRouter.PortMappingProperty
Implements
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class PortMappingProperty : Object, CfnVirtualRouter.IPortMappingProperty
Syntax (vb)
Public Class PortMappingProperty
Inherits Object
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() |
Properties
Port | The port used for the port mapping. |
Protocol | The protocol used for the port mapping. |
Constructors
PortMappingProperty()
public PortMappingProperty()
Properties
Port
The port used for the port mapping.
public double Port { get; set; }
Property Value
System.Double
Remarks
Protocol
The protocol used for the port mapping.
public string Protocol { get; set; }
Property Value
System.String