aws-cdk-lib.IResolveContext

interface IResolveContext

LanguageType name
.NETAmazon.CDK.IResolveContext
Gogithub.com/aws/aws-cdk-go/awscdk/v2#IResolveContext
Javasoftware.amazon.awscdk.IResolveContext
Pythonaws_cdk.IResolveContext
TypeScript (source)aws-cdk-lib » IResolveContext

Current resolution context for tokens.

Properties

NameTypeDescription
documentPathstring[]Path in the JSON document that is being constructed.
preparingbooleanTrue when we are still preparing, false if we're rendering the final output.
scopeIConstructThe scope from which resolution has been initiated.

documentPath

Type: string[]

Path in the JSON document that is being constructed.


preparing

Type: boolean

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


scope

Type: IConstruct

The scope from which resolution has been initiated.

Methods

NameDescription
registerPostProcessor(postProcessor)Use this postprocessor after the entire token structure has been resolved.
resolve(x, options?)Resolve an inner object.

registerPostProcessor(postProcessor)

public registerPostProcessor(postProcessor: IPostProcessor): void

Parameters

  • postProcessor IPostProcessor

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


resolve(x, options?)

public resolve(x: any, options?: ResolveChangeContextOptions): any

Parameters

  • x any
  • options ResolveChangeContextOptions

Returns

  • any

Resolve an inner object.