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

Method constructor

src/construct.ts:568–575  ·  view source on GitHub ↗

* Creates a new construct node. * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings. If * the ID includes a path separator (`/`), then it will be replaced by double * dash `--`.

(scope: Construct, id: string)

Source from the content-addressed store, hash-verified

566 * dash `--`.
567 */
568 constructor(scope: Construct, id: string) {
569 this.node = new Node(this, scope, id);
570
571 // implement IDependable privately
572 Dependable.implement(this, {
573 dependencyRoots: [this],
574 });
575 }
576
577 /**
578 * Applies one or more mixins to this construct.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected