Interface IResolvable
Interface for values that can be resolvable later.
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IResolvable
Syntax (vb)
Public Interface IResolvable
Remarks
Tokens are special objects that participate in synthesis.
Synopsis
Properties
Creation |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
Type |
The type that this token will likely resolve to. |
Methods
Resolve(IResolve |
Produce the Token's value at resolution time. |
To |
Return a string representation of this resolvable object. |
Properties
CreationStack
The creation stack of this resolvable which will be appended to errors thrown during resolution.
string[] CreationStack { get; }
Property Value
System.
Remarks
This may return an array with a single informational element indicating how to get this property populated, if it was skipped for performance reasons.
TypeHint
The type that this token will likely resolve to.
virtual Nullable<ResolutionTypeHint> TypeHint { get; }
Property Value
System.
Methods
Resolve(IResolveContext)
Produce the Token's value at resolution time.
object Resolve(IResolveContext context)
Parameters
- context IResolve
Context
Returns
System.
ToString()
Return a string representation of this resolvable object.
string ToString()
Returns
System.
Remarks
Returns a reversible string representation.