Skip to content

Instantly share code, notes, and snippets.

@yogeshnile
Last active September 30, 2021 03:21
Show Gist options
  • Save yogeshnile/d61bbd1aec6e57e6434c0829bd7d3c59 to your computer and use it in GitHub Desktop.
Save yogeshnile/d61bbd1aec6e57e6434c0829bd7d3c59 to your computer and use it in GitHub Desktop.
Variable Name Description
_HANDLER The handler location configured on the function.
_X_AMZN_TRACE_ID The X-Ray tracing header.
AWS_REGION The AWS Region where the Lambda function is executed.
AWS_EXECUTION_ENV The runtime identifier, prefixed by AWS_Lambda_
AWS_LAMBDA_FUNCTION_NAME The name of the function.
AWS_LAMBDA_FUNCTION_MEMORY_SIZE The amount of memory available to the function in MB.
AWS_LAMBDA_FUNCTION_VERSION The version of the function being executed.
AWS_LAMBDA_INITIALIZATION_TYPE The initialization type of the function, which is either on-demand or provisioned-concurrency.
AWS_LAMBDA_LOG_GROUP_NAME ,
AWS_LAMBDA_LOG_STREAM_NAME
The name of the Amazon CloudWatch Logs group and stream for the function.
AWS_LAMBDA_RUNTIME_API (Custom runtime) The host and port of the runtime API.
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_SESSION_TOKEN
The access keys obtained from the function's execution role.
LAMBDA_TASK_ROOT The path to your Lambda function code.
LAMBDA_RUNTIME_DIR The path to runtime libraries.
TZ The environment's time zone (UTC). The execution environment uses NTP to synchronize the system clock.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment