# IValidation

Implement this interface in order for the construct to be able to validate itself.

- Source: [`src/construct.ts`](https://github.com/aws/constructs/blob/v10.8.1/src/construct.ts#L616)

## Methods

- `validate(): string[]` — Validate the current construct.

  This method can be implemented by derived constructs in order to perform
  validation logic. It is called on all constructs before synthesis.

  **Returns:** An array of validation error messages, or an empty array if there the construct is valid.
