interface ITokenResolver
Language | Type name |
---|---|
.NET | Amazon.CDK.ITokenResolver |
Go | github.com/aws/aws-cdk-go/awscdk/v2#ITokenResolver |
Java | software.amazon.awscdk.ITokenResolver |
Python | aws_cdk.ITokenResolver |
TypeScript (source) | aws-cdk-lib » ITokenResolver |
Implemented by
Default
How to resolve tokens.
Methods
Name | Description |
---|---|
resolve | Resolve a tokenized list. |
resolve | Resolve a string with at least one stringified token in it. |
resolve | Resolve a single token. |
List(l, context)
resolvepublic resolveList(l: string[], context: IResolveContext): any
Parameters
- l
string[]
- context
IResolve
Context
Returns
any
Resolve a tokenized list.
String(s, context)
resolvepublic resolveString(s: TokenizedStringFragments, context: IResolveContext): any
Parameters
- s
Tokenized
String Fragments - context
IResolve
Context
Returns
any
Resolve a string with at least one stringified token in it.
(May use concatenation)
Token(t, context, postProcessor)
resolvepublic resolveToken(t: IResolvable, context: IResolveContext, postProcessor: IPostProcessor): any
Parameters
- t
IResolvable
- context
IResolve
Context - postProcessor
IPost
Processor
Returns
any
Resolve a single token.