Skip to main content

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.

Interface for values that can be resolvable later. Tokens are special objects that participate in synthesis.

Methods

NameDescription
resolveProduce the Token’s value at resolution time.
to_stringReturn a string representation of this resolvable object.

resolve

def resolve(
  context: IResolveContext
) -> typing.Any
Produce the Token’s value at resolution time.

contextRequired


to_string

def to_string() -> str
Return a string representation of this resolvable object. Returns a reversible string representation.

Properties

NameTypeDescription
creation_stacktyping.List[str]The creation stack of this resolvable which will be appended to errors thrown during resolution.

creation_stackRequired

creation_stack: typing.List[str]
  • Type: typing.List[str]
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.