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

Method dependencies

src/construct.ts:410–420  ·  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

408 * represent.
409 */
410 public get dependencies(): IConstruct[] {
411 const result = new Array<IConstruct>();
412 if (this._dependencies) {
413 for (const dep of this._dependencies) {
414 for (const root of Dependable.of(dep).dependencyRoots) {
415 result.push(root);
416 }
417 }
418 }
419 return result;
420 }
421
422 /**
423 * 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