Hands-On Serverless Applications with Kotlin
上QQ阅读APP看书,第一时间看更新

Context

The context is the second parameter passed by the Lambda execution environment to the function. It encapsulates the methods and attributes that enable the code to interact with the environment that it is running in.

A typical example would be accessing the environment variables that are bound in that context and gauging the statistics of the execution, like the execution time.