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

Method lock

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

466 * call, no more children can be added to this construct or to any children.
467 */
468 public lock() {
469 this._locked = true;
470 }
471
472 /**
473 * 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