Class LambdaBuildTimeConfig


  • @ConfigRoot(name="lambda",
                phase=BUILD_AND_RUN_TIME_FIXED)
    public class LambdaBuildTimeConfig
    extends Object
    • Field Detail

      • expectedExceptions

        @ConfigItem
        public Optional<List<Class<?>>> expectedExceptions
        The exception classes expected to be thrown by the handler. Any exception thrown by the handler that is an instance of a class in this list will not be logged, but will otherwise be handled normally by the lambda runtime. This is useful for avoiding unnecessary stack traces while preserving the ability to log unexpected exceptions.
    • Constructor Detail

      • LambdaBuildTimeConfig

        public LambdaBuildTimeConfig()