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

Context object

The context object provides methods to interact with the Lambda execution environment. The context object provides access to the following properties (by using a getter, of course):

  • Logger
  • MemoryLimitInMB
  • FunctionName
  • FunctionVersion
  • InvokedFunctionArn
  • AwsRequestId
  • LogStreamName
  • LogGroupName
  • ClientContext
  • Identity
  • RemainingTimeInMillis