Includes API for attaching annotations such as warning messages to constructs.Documentation Index
Fetch the complete documentation index at: https://cdktn.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
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