Interface IVirtualRouter
Interface which all VirtualRouter based classes MUST implement.
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IVirtualRouter : IResource, IConstruct, IDependable
Syntax (vb)
Public Interface IVirtualRouter Inherits IResource, IConstruct, IDependable
Synopsis
Properties
Mesh | The Mesh which the VirtualRouter belongs to. |
VirtualRouterArn | The Amazon Resource Name (ARN) for the VirtualRouter. |
VirtualRouterName | The name of the VirtualRouter. |
Methods
AddRoute(string, IRouteBaseProps) | Add a single route to the router. |
Properties
Mesh
VirtualRouterArn
The Amazon Resource Name (ARN) for the VirtualRouter.
string VirtualRouterArn { get; }
Property Value
Remarks
Attribute: true
VirtualRouterName
The name of the VirtualRouter.
string VirtualRouterName { get; }
Property Value
Remarks
Attribute: true
Methods
AddRoute(string, IRouteBaseProps)
Add a single route to the router.
Route AddRoute(string id, IRouteBaseProps props)
Parameters
- id string
- props IRouteBaseProps