Interface IVirtualRouter
- All Superinterfaces:
 software.constructs.IConstruct,software.constructs.IDependable,IResource,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
 IVirtualRouter.Jsii$Default
- All Known Implementing Classes:
 IVirtualRouter.Jsii$Proxy,VirtualRouter
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
           date="2025-10-29T11:15:32.361Z")
@Stability(Stable)
public interface IVirtualRouter
extends software.amazon.jsii.JsiiSerializable, IResource
Interface which all VirtualRouter based classes MUST implement.
- 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIVirtualRouter.static final classA proxy class which represents a concrete javascript instance of this type. - 
Method Summary
Modifier and TypeMethodDescriptionaddRoute(String id, RouteBaseProps props) Add a single route to the router.getMesh()The Mesh which the VirtualRouter belongs to.The Amazon Resource Name (ARN) for the VirtualRouter.The name of the VirtualRouter.Methods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson 
- 
Method Details
- 
getMesh
The Mesh which the VirtualRouter belongs to. - 
getVirtualRouterArn
The Amazon Resource Name (ARN) for the VirtualRouter. - 
getVirtualRouterName
The name of the VirtualRouter. - 
addRoute
Add a single route to the router.- Parameters:
 id- This parameter is required.props- This parameter is required.
 
 -