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

Method dependencies

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

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