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
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
System.String
Remarks
Attribute: true
VirtualRouterName
The name of the VirtualRouter.
string VirtualRouterName { get; }
Property Value
System.String
Remarks
Attribute: true
Methods
AddRoute(String, IRouteBaseProps)
Add a single route to the router.
Route AddRoute(string id, IRouteBaseProps props)
Parameters
- id System.String
- props IRouteBaseProps
Returns