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