Class VirtualRouterBaseProps
Interface with base properties all routers willl inherit.
Inheritance
System.Object
VirtualRouterBaseProps
Implements
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class VirtualRouterBaseProps : Object, IVirtualRouterBaseProps
Syntax (vb)
Public Class VirtualRouterBaseProps
Inherits Object
Implements IVirtualRouterBaseProps
Remarks
ExampleMetadata: infused
Examples
Mesh mesh;
var router = mesh.AddVirtualRouter("router", new VirtualRouterBaseProps {
Listeners = new [] { VirtualRouterListener.Http(8080) }
});
Synopsis
Constructors
VirtualRouterBaseProps() |
Properties
Listeners | Listener specification for the VirtualRouter. |
VirtualRouterName | The name of the VirtualRouter. |
Constructors
VirtualRouterBaseProps()
public VirtualRouterBaseProps()
Properties
Listeners
Listener specification for the VirtualRouter.
public VirtualRouterListener[] Listeners { get; set; }
Property Value
Remarks
Default: - A listener on HTTP port 8080
VirtualRouterName
The name of the VirtualRouter.
public string VirtualRouterName { get; set; }
Property Value
System.String
Remarks
Default: - A name is automatically determined