This project is currently in development... all releases pre 0.1.0 are to be considered experimental
Creating some interesting CDK Utility classes to provide deeper insights into deployable resources and construct trees
import { KvMap } from 'cdk-utilities'
const kvMap: KvMap = { ... }
import { ConstructTreeParser } from 'cdk-utilities'
new ConstructTreeParser(node: App)
- Type:
@aws-cdk/core.App
public generateParseTree()
public generateTreeStructure()
- Type:
@aws-cdk/core.App
import { Node } from 'cdk-utilities'
new Node(node: ConstructNode, parent?: Node, children?: Node[])
- Type:
cdk-utilities.Node
- Type:
cdk-utilities.Node
[]
public accept(visitor: IVisitor)
- Type:
cdk-utilities.IVisitor
public addChild(node: Node)
- Type:
cdk-utilities.Node
- Type:
string
- Type:
string
- Type:
cdk-utilities.Node
[]
- Type:
cdk-utilities.Node
import { ParseTree } from 'cdk-utilities'
new ParseTree(app: App)
- Type:
@aws-cdk/core.App
public createTree(constructNode: ConstructNode, parent?: Node)
- Type:
cdk-utilities.Node
public findPaths()
public genTreeStructure()
- Implements:
cdk-utilities.IVisitor
import { PrintTreeStructureVisitor } from 'cdk-utilities'
new PrintTreeStructureVisitor()
public makeIndent()
public postVisit(node: Node)
- Type:
cdk-utilities.Node
public preVisit(node: Node)
- Type:
cdk-utilities.Node
public visit(node: Node)
- Type:
cdk-utilities.Node
- Type:
string
- Type:
number
- Type:
cdk-utilities.KvMap
- Type:
number
- Type:
string
- Implements:
cdk-utilities.IVisitor
import { PrintVisitor } from 'cdk-utilities'
new PrintVisitor()
public postVisit(node: Node)
- Type:
cdk-utilities.Node
public preVisit(node: Node)
- Type:
cdk-utilities.Node
public visit(node: Node)
- Type:
cdk-utilities.Node
- Type:
string
- Implemented By:
cdk-utilities.PrintTreeStructureVisitor
,cdk-utilities.PrintVisitor
,cdk-utilities.IVisitor
public postVisit(node: Node)
- Type:
cdk-utilities.Node
public preVisit(node: Node)
- Type:
cdk-utilities.Node
public visit(node: Node)
- Type:
cdk-utilities.Node