IResolvable
- Implemented By: FnAdd, FnAnd, FnAny, FnAvg, FnBase64Decode, FnBase64Encode, FnCalculate, FnCidr, FnContains, FnEachMemberIn, FnEquals, FnFindInMap, FnFormatTime, FnGetAZs, FnGetAtt, FnGetJsonValue, FnGetStackOutput, FnIf, FnIndent, FnIndex, FnJoin, FnJq, FnLength, FnListMerge, FnMarketplaceImage, FnMatchPattern, FnMax, FnMergeMapToList, FnMin, FnNot, FnOr, FnRef, FnReplace, FnSelect, FnSelectMapList, FnSplit, FnStr, FnSub, Intrinsic, Reference, RosCondition, IResolvable, IRosConditionExpression
Interface for values that can be resolvable later.
Tokens are special objects that participate in synthesis.
Methods
Name | Description |
---|---|
Resolve |
Produce the Token's value at resolution time. |
ToString |
Return a string representation of this resolvable object. |
Resolve
func Resolve(context IResolveContext) interface{}
Produce the Token's value at resolution time.
- Type: IResolveContext
ToString
func ToString() *string
Return a string representation of this resolvable object.
Returns a reversible string representation.
Properties
Name | Type | Description |
---|---|---|
CreationStack |
[]string |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
CreationStack
Required
func CreationStack() *[]*string
- Type: []string
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.