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

import "github.com/open-constructs/cdk-terrain-go/cdktn"

&cdktn.ResolveOptions {
	Resolver: github.com/open-constructs/cdk-terrain-go/cdktn.ITokenResolver,
	Scope: github.com/aws/constructs-go/constructs/v10.IConstruct,
	Preparing: *bool,
}

Properties

NameTypeDescription
ResolverITokenResolverThe resolver to apply to any resolvable tokens found.
Scopegithub.com/aws/constructs-go/constructs/v10.IConstructThe scope from which resolution is performed.
Preparing*boolWhether the resolution is being executed during the prepare phase or not.

ResolverRequired

Resolver ITokenResolver
The resolver to apply to any resolvable tokens found.

ScopeRequired

Scope IConstruct
  • Type: github.com/aws/constructs-go/constructs/v10.IConstruct
The scope from which resolution is performed.

PreparingOptional

Preparing *bool
  • Type: *bool
  • Default: false
Whether the resolution is being executed during the prepare phase or not.