IResolveContext

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

Bases: Protocol

Current resolution context for tokens.

Methods

register_post_processor(post_processor)

Use this postprocessor after the entire token structure has been resolved.

Parameters

post_processor (IPostProcessor) –

Return type

None

resolve(x, *, allow_intrinsic_keys=None)

Resolve an inner object.

Parameters
  • x (Any) –

  • allow_intrinsic_keys (Optional[bool]) – Change the ‘allowIntrinsicKeys’ option. Default: - Unchanged

Return type

Any

Attributes

document_path

Path in the JSON document that is being constructed.

preparing

True when we are still preparing, false if we’re rendering the final output.

scope

The scope from which resolution has been initiated.