@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:46:58.855Z") @Stability(value=Experimental) 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.constructs.*;
import software.amazon.awscdk.core.*;
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()
(experimental) Whether the resolution is being executed during the prepare phase or not.
|
default Boolean |
getRemoveEmpty()
(experimental) Whether to remove undefined elements from arrays and objects when resolving.
|
ITokenResolver |
getResolver()
(experimental) The resolver to apply to any resolvable tokens found.
|
software.constructs.IConstruct |
getScope()
(experimental) The scope from which resolution is performed.
|
@Stability(value=Experimental) @NotNull ITokenResolver getResolver()
@Stability(value=Experimental) @NotNull software.constructs.IConstruct getScope()
@Stability(value=Experimental) @Nullable default Boolean getPreparing()
Default: false
@Stability(value=Experimental) @Nullable default Boolean getRemoveEmpty()
Default: true
@Stability(value=Experimental) static ResolveOptions.Builder builder()
ResolveOptions.Builder of ResolveOptionsCopyright © 2022. All rights reserved.