Class CfnVirtualGateway.VirtualGatewayPortMappingProperty
An object that represents a port mapping.
Inheritance
System.Object
CfnVirtualGateway.VirtualGatewayPortMappingProperty
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class VirtualGatewayPortMappingProperty : Object, CfnVirtualGateway.IVirtualGatewayPortMappingProperty
Syntax (vb)
Public Class VirtualGatewayPortMappingProperty
Inherits Object
Implements CfnVirtualGateway.IVirtualGatewayPortMappingProperty
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 virtualGatewayPortMappingProperty = new VirtualGatewayPortMappingProperty {
Port = 123,
Protocol = "protocol"
};
Synopsis
Constructors
VirtualGatewayPortMappingProperty() |
Properties
Port | The port used for the port mapping. |
Protocol | The protocol used for the port mapping. |
Constructors
VirtualGatewayPortMappingProperty()
public VirtualGatewayPortMappingProperty()
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