IResolvable

class aws_cdk.core.IResolvable(*args, **kwds)

Bases: typing_extensions.Protocol

Interface for values that can be resolvable later.

Tokens are special objects that participate in synthesis.

Methods

resolve(context)

Produce the Token’s value at resolution time.

Parameters

context (IResolveContext) –

Return type

Any

to_string()

Return a string representation of this resolvable object.

Returns a reversible string representation.

Return type

str

Attributes

creation_stack

The creation stack of this resolvable which will be appended to errors thrown during resolution.

This may return an array with a single informational element indicating how to get this property populated, if it was skipped for performance reasons.

Return type

List[str]