Skip to main content

Initializers

import io.cdktn.cdktn.LazyBase;

new LazyBase();
NameTypeDescription

Methods

NameDescription
addPostProcessorNo description.
resolveProduce the Token’s value at resolution time.
toJSONTurn this Token into JSON.
toStringReturn a string representation of this resolvable object.

addPostProcessor

public void addPostProcessor(IPostProcessor postProcessor)

postProcessorRequired


resolve

public java.lang.Object resolve(IResolveContext context)
Produce the Token’s value at resolution time.

contextRequired


toJSON

public java.lang.Object toJSON()
Turn this Token into JSON. Called automatically when JSON.stringify() is called on a Token.

toString

public java.lang.String toString()
Return a string representation of this resolvable object. Returns a reversible string representation.

Properties

NameTypeDescription
creationStackjava.util.List< java.lang.String >The creation stack of this resolvable which will be appended to errors thrown during resolution.

creationStackRequired

public java.util.List<java.lang.String> getCreationStack();
  • Type: java.util.List< java.lang.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.