UNPKG

serverless-spy

Version:

CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.

15 lines (12 loc) 280 B
const TagPath = require("./TagPath"); class TagPathMatcher{ constructor(stack,node){ this.stack = stack; this.node= node; } match(path){ const tagPath = new TagPath(path); return tagPath.match(this.stack, this.node); } } module.exports = TagPathMatcher;