Skip to content

ResolveOptions

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 ros_cdk_core
ros_cdk_core.ResolveOptions(
  resolver: ITokenResolver,
  scope: IConstruct,
  preparing: bool = None
)

Properties

Name Type Description
resolver ITokenResolver The resolver to apply to any resolvable tokens found.
scope IConstruct The scope from which resolution is performed.
preparing bool Whether 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

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.