Class DefaultTokenResolver

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.core.DefaultTokenResolver
All Implemented Interfaces:
ITokenResolver, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:55.019Z") @Stability(Stable) public class DefaultTokenResolver extends software.amazon.jsii.JsiiObject implements ITokenResolver
Default resolver implementation.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.core.*;
 IFragmentConcatenator fragmentConcatenator;
 DefaultTokenResolver defaultTokenResolver = new DefaultTokenResolver(fragmentConcatenator);
 
  • Constructor Details

    • DefaultTokenResolver

      protected DefaultTokenResolver(software.amazon.jsii.JsiiObjectRef objRef)
    • DefaultTokenResolver

      protected DefaultTokenResolver(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • DefaultTokenResolver

      @Stability(Stable) public DefaultTokenResolver(@NotNull IFragmentConcatenator concat)
      Parameters:
      concat - This parameter is required.
  • Method Details

    • resolveList

      @Stability(Stable) @NotNull public Object resolveList(@NotNull List<String> xs, @NotNull IResolveContext context)
      Resolve a tokenized list.

      Specified by:
      resolveList in interface ITokenResolver
      Parameters:
      xs - This parameter is required.
      context - This parameter is required.
    • resolveString

      @Stability(Stable) @NotNull public Object resolveString(@NotNull TokenizedStringFragments fragments, @NotNull IResolveContext context)
      Resolve string fragments to Tokens.

      Specified by:
      resolveString in interface ITokenResolver
      Parameters:
      fragments - This parameter is required.
      context - This parameter is required.
    • resolveToken

      @Stability(Stable) @NotNull public Object resolveToken(@NotNull IResolvable t, @NotNull IResolveContext context, @NotNull IPostProcessor postProcessor)
      Default Token resolution.

      Resolve the Token, recurse into whatever it returns, then finally post-process it.

      Specified by:
      resolveToken in interface ITokenResolver
      Parameters:
      t - This parameter is required.
      context - This parameter is required.
      postProcessor - This parameter is required.