- 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: object
Properties
| Name | Type | Description |
|---|---|---|
Preparing | bool | 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 | bool | 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 | bool | True when ${} should be ommitted (because already inside them), false otherwise. |
WarnEscapes | bool | True when ${} should not be included in the string to be resolved, outputs a warning. |
PreparingRequired
- Type: bool
ScopeRequired
- Type: Constructs.IConstruct
IgnoreEscapesOptional
- Type: bool
IteratorContextOptional
- Type: string
SuppressBracesOptional
- Type: bool
WarnEscapesOptional
- Type: bool