interface IResolvable
| Language | Type name |
|---|---|
.NET | Amazon.CDK.IResolvable |
Go | github.com/aws/aws-cdk-go/awscdk/v2#IResolvable |
Java | software.amazon.awscdk.IResolvable |
Python | aws_cdk.IResolvable |
TypeScript (source) | aws-cdk-lib » IResolvable |
Implemented by
Event, Match, Policy, Physical, Cfn, Cfn, Cfn, Intrinsic, Json, Secret, Dynamic
Obtainable from
Json.objectAt(), Json.stringToJson(), Fn.getAtt(), Fn.transform(), Lazy.any(), Lazy.uncachedAny(), Token.asAny(), Tokenization.reverse(), Tokenization.reverseCompleteString(), Tokenization.reverseList(), Tokenization.reverseNumber()
Interface for values that can be resolvable later.
Tokens are special objects that participate in synthesis.
Properties
| Name | Type | Description |
|---|---|---|
| creation | string[] | The creation stack of this resolvable which will be appended to errors thrown during resolution. |
| type | Resolution | The type that this token will likely resolve to. |
creationStack
Type:
string[]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
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?
Type:
Resolution
(optional)
The type that this token will likely resolve to.
Methods
| Name | Description |
|---|---|
| resolve(context) | Produce the Token's value at resolution time. |
| to | Return a string representation of this resolvable object. |
resolve(context)
public resolve(context: IResolveContext): any
Parameters
- context
IResolveContext
Returns
any
Produce the Token's value at resolution time.
toString()
public toString(): string
Returns
string
Return a string representation of this resolvable object.
Returns a reversible string representation.

.NET
Go
Java
Python
TypeScript (