@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)",
date="2022-05-20T22:19:53.115Z")
public interface ResolveOptions
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.core.*; 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 java.lang.Boolean |
getPreparing()
Whether the resolution is being executed during the prepare phase or not.
|
default java.lang.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.
|
ITokenResolver getResolver()
software.constructs.IConstruct getScope()
default java.lang.Boolean getPreparing()
Default: false
default java.lang.Boolean getRemoveEmpty()
Default: true
static ResolveOptions.Builder builder()
ResolveOptions.Builder
of ResolveOptions