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

Interface IValidation

src/construct.ts:576–586  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

574 * Implement this interface in order for the construct to be able to validate itself.
575 */
576export interface IValidation {
577 /**
578 * Validate the current construct.
579 *
580 * This method can be implemented by derived constructs in order to perform
581 * validation logic. It is called on all constructs before synthesis.
582 *
583 * @returns An array of validation error messages, or an empty array if there the construct is valid.
584 */
585 validate(): string[];
586}
587
588/**
589 * In what order to return constructs

Callers 3

validateTreeFunction · 0.65
construct.test.tsFile · 0.65
validateMethod · 0.65

Implementers 1

Nodesrc/construct.ts

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…