ResolveOptions¶
-
class
aws_cdk.core.
ResolveOptions
(*, resolver, scope, preparing=None)¶ Bases:
object
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.
- Parameters
resolver (
ITokenResolver
) – The resolver to apply to any resolvable tokens found.scope (
IConstruct
) – The scope from which resolution is performed.preparing (
Optional
[bool
]) – Whether the resolution is being executed during the prepare phase or not. Default: false
Attributes
-
preparing
¶ Whether the resolution is being executed during the prepare phase or not.
- Default
false
- Return type
Optional
[bool
]
-
resolver
¶ The resolver to apply to any resolvable tokens found.
- Return type
-
scope
¶ The scope from which resolution is performed.
- Return type