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.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIVirtualRouter
.static final class
A 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.amazon.awscdk.core.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.core.IResource
applyRemovalPolicy, getEnv, getStack
Methods 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.
-