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