IResolveContext

class aws_cdk.IResolveContext(*args, **kwargs)

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, remove_empty=None)

Resolve an inner object.

Parameters:
  • x (Any) –

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

  • remove_empty (Optional[bool]) – Whether to remove undefined elements from arrays and objects when resolving. 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.