Table of Contents

Interface IResolveContext

Namespace
Amazon.CDK
Assembly
Amazon.CDK.dll

Current resolution context for tokens.

public interface IResolveContext

Properties

DocumentPath

Path in the JSON document that is being constructed.

string[] DocumentPath { get; }

Property Value

string[]

Preparing

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

bool Preparing { get; }

Property Value

bool

Scope

The scope from which resolution has been initiated.

IConstruct Scope { get; }

Property Value

IConstruct

Methods

RegisterPostProcessor(IPostProcessor)

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

void RegisterPostProcessor(IPostProcessor postProcessor)

Parameters

postProcessor IPostProcessor

Resolve(object, IResolveChangeContextOptions?)

Resolve an inner object.

object Resolve(object x, IResolveChangeContextOptions? options = null)

Parameters

x object
options IResolveChangeContextOptions

Returns

object