Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions packages/@aws-cdk/aws-appmesh/lib/virtual-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,13 @@ export class VirtualNode extends VirtualNodeBase {

/**
* Utility method to add an inbound listener for this VirtualNode
*
* Note: At this time, Virtual Nodes support at most one listener. Adding
* more than one will result in a failure to deploy the CloudFormation stack.
* However, the App Mesh team has plans to add support for multiple listeners
* on Virtual Nodes and Virtual Routers.
*
* @see https://github.com/aws/aws-app-mesh-roadmap/issues/120
*/
public addListener(listener: VirtualNodeListener) {
this.listeners.push(listener.bind(this));
Expand Down