@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:35.926Z") @Stability(value=Stable) public interface ResolveOptions extends software.amazon.jsii.JsiiSerializable
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.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.constructs.*;
Construct construct;
ITokenResolver tokenResolver;
ResolveOptions resolveOptions = ResolveOptions.builder()
.resolver(tokenResolver)
.scope(construct)
// the properties below are optional
.preparing(false)
.removeEmpty(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ResolveOptions.Builder
A builder for
ResolveOptions |
static class |
ResolveOptions.Jsii$Proxy
An implementation for
ResolveOptions |
| Modifier and Type | Method and Description |
|---|---|
static ResolveOptions.Builder |
builder() |
default Boolean |
getPreparing()
Whether the resolution is being executed during the prepare phase or not.
|
default Boolean |
getRemoveEmpty()
Whether to remove undefined elements from arrays and objects when resolving.
|
ITokenResolver |
getResolver()
The resolver to apply to any resolvable tokens found.
|
software.constructs.IConstruct |
getScope()
The scope from which resolution is performed.
|
@Stability(value=Stable) @NotNull ITokenResolver getResolver()
@Stability(value=Stable) @NotNull software.constructs.IConstruct getScope()
@Stability(value=Stable) @Nullable default Boolean getPreparing()
Default: false
@Stability(value=Stable) @Nullable default Boolean getRemoveEmpty()
Default: true
@Stability(value=Stable) static ResolveOptions.Builder builder()
ResolveOptions.Builder of ResolveOptionsCopyright © 2022. All rights reserved.