constructs.IValidation

interface IValidation

LanguageType name
.NETConstructs.IValidation
Javasoftware.constructs.IValidation
Pythonconstructs.IValidation
TypeScript (source)constructs » IValidation

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

Methods

NameDescription
validate()Validate the current construct.

validate()

public validate(): string[]

Returns

  • 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.