interface ITokenResolver
Language | Type name |
---|---|
.NET | Amazon.CDK.ITokenResolver |
Java | software.amazon.awscdk.core.ITokenResolver |
Python | aws_cdk.core.ITokenResolver |
TypeScript (source) | @aws-cdk/core » 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.