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

Method dependencies

src/construct.ts:423–433  ·  view source on GitHub ↗

* Constructs that this construct depends on directly * * This expands the sets of `Dependables` to the set of `Constructs` that they * represent.

()

Source from the content-addressed store, hash-verified

421 * represent.
422 */
423 public get dependencies(): IConstruct[] {
424 const result = new Array<IConstruct>();
425 if (this._dependencies) {
426 for (const dep of this._dependencies) {
427 for (const root of Dependable.of(dep).dependencyRoots) {
428 result.push(root);
429 }
430 }
431 }
432 return result;
433 }
434
435 /**
436 * Remove the child with the given name, if present.

Callers

nothing calls this directly

Calls 1

ofMethod · 0.80

Tested by

no test coverage detected