Skip to main content
Options to the resolve() operation. NOT the same as the ResolveContext; ResolveContext is exposed to Token implementors and resolution hooks, whereas this struct is just to bundle a number of things that would otherwise be arguments to resolve() in a readable way.

Initializer

using Io.Cdktn;

new ResolveOptions {
    ITokenResolver Resolver,
    IConstruct Scope,
    bool Preparing = null
};

Properties

NameTypeDescription
ResolverITokenResolverThe resolver to apply to any resolvable tokens found.
ScopeConstructs.IConstructThe scope from which resolution is performed.
PreparingboolWhether the resolution is being executed during the prepare phase or not.

ResolverRequired

public ITokenResolver Resolver { get; set; }
The resolver to apply to any resolvable tokens found.

ScopeRequired

public IConstruct Scope { get; set; }
  • Type: Constructs.IConstruct
The scope from which resolution is performed.

PreparingOptional

public bool Preparing { get; set; }
  • Type: bool
  • Default: false
Whether the resolution is being executed during the prepare phase or not.