Interface IVirtualRouter

All Superinterfaces:
IConstruct, software.constructs.IConstruct, 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.84.0 (build 5404dcf)", date="2023-06-19T16:30:46.107Z") @Stability(Stable) public interface IVirtualRouter extends software.amazon.jsii.JsiiSerializable, IResource
Interface which all VirtualRouter based classes MUST implement.
  • Method Details

    • getMesh

      @Stability(Stable) @NotNull IMesh getMesh()
      The Mesh which the VirtualRouter belongs to.
    • getVirtualRouterArn

      @Stability(Stable) @NotNull String getVirtualRouterArn()
      The Amazon Resource Name (ARN) for the VirtualRouter.
    • getVirtualRouterName

      @Stability(Stable) @NotNull String getVirtualRouterName()
      The name of the VirtualRouter.
    • addRoute

      @Stability(Stable) @NotNull Route addRoute(@NotNull String id, @NotNull RouteBaseProps props)
      Add a single route to the router.

      Parameters:
      id - This parameter is required.
      props - This parameter is required.