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

Method validate

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

428 * construct.
429 */
430 public validate(): string[] {
431 return (this._validations ?? []).flatMap(v => v.validate());
432 }
433
434 /**
435 * 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