When Lambda runs your function, it passes a context object to the handler. This object provides methods and properties that provide information about the invocation, function, and execution environment.
Context methodsget_remaining_time_in_millis
â Returns the number of milliseconds left before the execution times out.
function_name
â The name of the Lambda function.
function_version
â The version of the function.
invoked_function_arn
â The Amazon Resource Name (ARN) that's used to invoke the function. Indicates if the invoker specified a version number or alias.
memory_limit_in_mb
â The amount of memory that's allocated for the function.
aws_request_id
â The identifier of the invocation request.
log_group_name
â The log group for the function.
log_stream_name
â The log stream for the function instance.
deadline_ms
â The date that the execution times out, in Unix time milliseconds.
identity
â (mobile apps) Information about the Amazon Cognito identity that authorized the request.
client_context
â (mobile apps) Client context that's provided to Lambda by the client application.
Did this page help you? - Yes
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Did this page help you? - No
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4