MCPcopy Create free account
hub / github.com/aws/constructs / path

Method path

src/construct.ts:92–100  ·  view source on GitHub ↗

* The full, absolute path of this construct in the tree. * * Components are separated by '/'.

()

Source from the content-addressed store, hash-verified

90 * Components are separated by '/'.
91 */
92 public get path(): string {
93 const components = [];
94 for (const scope of this.scopes) {
95 if (scope.node.id) {
96 components.push(scope.node.id);
97 }
98 }
99 return components.join(Node.PATH_SEP);
100 }
101
102 /**
103 * Returns an opaque tree-unique address for this construct.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected