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
CreationStack | The creation stack of this resolvable which will be appended to errors thrown during resolution. |
TypeHint | The type that this token will likely resolve to. |
Methods
Resolve(IResolveContext) | Produce the Token's value at resolution time. |
ToString() | 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.String[]
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.Nullable<ResolutionTypeHint>
Methods
Resolve(IResolveContext)
Produce the Token's value at resolution time.
object Resolve(IResolveContext context)
Parameters
- context IResolveContext
Returns
System.Object
ToString()
Return a string representation of this resolvable object.
string ToString()
Returns
System.String
Remarks
Returns a reversible string representation.