ResolveOptions
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.
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore"
&alicloudroscdkcore.ResolveOptions {
Resolver: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ITokenResolver,
Scope: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IConstruct,
Preparing: *bool,
}
Properties
Name | Type | Description |
---|---|---|
Resolver |
ITokenResolver |
The resolver to apply to any resolvable tokens found. |
Scope |
IConstruct |
The scope from which resolution is performed. |
Preparing |
*bool |
Whether the resolution is being executed during the prepare phase or not. |
Resolver
Required
Resolver ITokenResolver
- Type: ITokenResolver
The resolver to apply to any resolvable tokens found.
Scope
Required
Scope IConstruct
- Type: IConstruct
The scope from which resolution is performed.
Preparing
Optional
Preparing *bool
- Type: *bool
- Default: false
Whether the resolution is being executed during the prepare phase or not.