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

Method validate

src/construct.ts:470–472  ·  view source on GitHub ↗

* Validates this construct. * * Invokes the `validate()` method on all validations added through * `addValidation()`. * * @returns an array of validation error messages associated with this * construct.

()

Source from the content-addressed store, hash-verified

468 * construct.
469 */
470 public validate(): string[] {
471 return (this._validations ?? []).flatMap(v => v.validate());
472 }
473
474 /**
475 * Locks this construct from allowing more children to be added. After this

Callers

nothing calls this directly

Calls 1

validateMethod · 0.65

Tested by

no test coverage detected