Package software.amazon.awscdk
Interface ResolveOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ResolveOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-21T06:34:02.236Z")
@Stability(Stable)
public interface ResolveOptions
extends software.amazon.jsii.JsiiSerializable
Options to the resolve() operation.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forResolveOptions
static final class
An implementation forResolveOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResolveOptions.Builder
builder()
default Boolean
Whether the resolution is being executed during the prepare phase or not.default Boolean
Whether to remove undefined elements from arrays and objects when resolving.The resolver to apply to any resolvable tokens found.software.constructs.IConstruct
getScope()
The scope from which resolution is performed.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getResolver
The resolver to apply to any resolvable tokens found. -
getScope
@Stability(Stable) @NotNull software.constructs.IConstruct getScope()The scope from which resolution is performed. -
getPreparing
Whether the resolution is being executed during the prepare phase or not.Default: false
-
getRemoveEmpty
Whether to remove undefined elements from arrays and objects when resolving.Default: true
-
builder
- Returns:
- a
ResolveOptions.Builder
ofResolveOptions
-