- Implemented By: IResolveContext
Methods
| Name | Description |
|---|---|
registerPostProcessor | Use this postprocessor after the entire token structure has been resolved. |
resolve | Resolve an inner object. |
registerPostProcessor
postProcessorRequired
- Type: IPostProcessor
resolve
xRequired
- Type: any
Properties
| Name | Type | Description |
|---|---|---|
preparing | boolean | True when we are still preparing, false if we’re rendering the final output. |
scope | constructs.IConstruct | The scope from which resolution has been initiated. |
ignoreEscapes | boolean | True when ${} should not be parsed, and treated as literals. |
iteratorContext | string | TerraformIterators can be passed for block attributes and normal list attributes both require different handling when the iterable variable is accessed e.g. a dynamic block needs each.key while a for expression just needs key. |
suppressBraces | boolean | True when ${} should be ommitted (because already inside them), false otherwise. |
warnEscapes | boolean | True when ${} should not be included in the string to be resolved, outputs a warning. |
preparingRequired
- Type: boolean
scopeRequired
- Type: constructs.IConstruct
ignoreEscapesOptional
- Type: boolean
iteratorContextOptional
- Type: string
suppressBracesOptional
- Type: boolean
warnEscapesOptional
- Type: boolean