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.
Initializers
import "github.com/open-constructs/cdk-terrain-go/cdktn"
cdktn.NewLazyBase() LazyBase
Methods
| Name | Description |
|---|
AddPostProcessor | No description. |
Resolve | Produce the Token’s value at resolution time. |
ToJSON | Turn this Token into JSON. |
ToString | Return a string representation of this resolvable object. |
AddPostProcessor
func AddPostProcessor(postProcessor IPostProcessor)
postProcessorRequired
Resolve
func Resolve(context IResolveContext) interface{}
Produce the Token’s value at resolution time.
contextRequired
ToJSON
func ToJSON() interface{}
Turn this Token into JSON.
Called automatically when JSON.stringify() is called on a Token.
ToString
Return a string representation of this resolvable object.
Returns a reversible string representation.
Properties
| Name | Type | Description |
|---|
CreationStack | *[]*string | The creation stack of this resolvable which will be appended to errors thrown during resolution. |
CreationStackRequired
func CreationStack() *[]*string
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.