TestEchoLambda

org.encalmo.lambda.TestEchoLambda
See theTestEchoLambda companion object
class TestEchoLambda(log: Option[String]) extends LambdaRuntime

Attributes

Companion
object
Graph
Supertypes
trait EventHandler
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

trait Instance

Lambda runtime instance interface.

Lambda runtime instance interface.

Attributes

Inherited from:
LambdaRuntime
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

inline override def handleRequest(input: String)(using LambdaContext): String

Abstract lambda invocation handler method. Provide your business logic here.

Abstract lambda invocation handler method. Provide your business logic here.

Attributes

Definition Classes

Inherited methods

final def configure[T](f: LambdaEnvironment ?=> T): T

Lambda configuration method. Provide your setup logic here.

Lambda configuration method. Provide your setup logic here.

IN ORDER TO WORK MUST BE DECLARED USING THE FOLLOWING TEMPLATE:

Attributes

Example

lazy val config: MyConfig = configure{(lambdaEnvironment: LambdaEnvironment) => MyConfig(...)}

Inherited from:
LambdaRuntime

Event tag will printed in the beginning of the log. Override to mark each log with event-specific tag. Default to None.

Event tag will printed in the beginning of the log. Override to mark each log with event-specific tag. Default to None.

Attributes

Inherited from:
EventHandlerTag
final def initializeLambdaRuntime(variablesOverrides: Map[String, String]): Instance

Creates lambda runtime instance.

Creates lambda runtime instance.

Attributes

Inherited from:
LambdaRuntime
final inline def run(): Unit

Starts lambda runtime and blocks thread until finished.

Starts lambda runtime and blocks thread until finished.

Attributes

Inherited from:
LambdaRuntime

Switch off debug mode for the current lambda invocation.

Switch off debug mode for the current lambda invocation.

Attributes

Inherited from:
LambdaRuntime
final def test(input: String, overrides: Map[String, String]): String

Attributes

Inherited from:
LambdaRuntime

Concrete fields

lazy val config: Unit

Inherited fields

Attributes

Inherited from:
LambdaRuntime