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

Method lock

src/construct.ts:478–480  ·  view source on GitHub ↗

* Locks this construct from allowing more children to be added. After this * call, no more children can be added to this construct or to any children.

()

Source from the content-addressed store, hash-verified

476 * call, no more children can be added to this construct or to any children.
477 */
478 public lock() {
479 this._locked = true;
480 }
481
482 /**
483 * Applies one or more mixins to this construct.

Callers 1

construct.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected