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

Method lock

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

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