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. |
resolveList(l, context)
public resolveList(l: string[], context: IResolveContext): any
Parameters
- l
string[]
- context
IResolve
Context
Returns
any
Resolve a tokenized list.
resolveString(s, context)
public 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)
resolveToken(t, context, postProcessor)
public resolveToken(t: IResolvable, context: IResolveContext, postProcessor: IPostProcessor): any
Parameters
- t
IResolvable
- context
IResolve
Context - postProcessor
IPost
Processor
Returns
any
Resolve a single token.