Methods
| Name | Description |
|---|---|
addError | Adds an { “error”: < message > } metadata entry to this construct. |
addInfo | Adds an info metadata entry to this construct. |
addWarning | Adds a warning metadata entry to this construct. |
addError
messageRequired
- Type: string
addInfo
messageRequired
- Type: string
addWarning
messageRequired
- Type: string
Static Functions
| Name | Description |
|---|---|
of | Returns the annotations API for a construct scope. |
of
scopeRequired
- Type: constructs.IConstruct