Interface ReservedRuntimeEnvironmentVariables
public interface ReservedRuntimeEnvironmentVariables
Lambda runtimes set several environment variables during initialization.
Most of the environment variables provide information about the function or runtime.
The keys for these environment variables are reserved and cannot be set in your function configuration.
- Since:
- 1.4
- Author:
- sdelamo
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Access key id obtained from the function's execution role.static final String
The runtime identifier, prefixed by AWS_Lambda_—for example, AWS_Lambda_java8.static final String
The amount of memory available to the function in MB.static final String
The name of the function.static final String
The version of the function being executed.static final String
The name of the Amazon CloudWatch Logs group for the function.static final String
The name of the Amazon CloudWatch stream for the function.static final String
(Custom runtime) The host and port of the runtime API.static final String
The AWS Region where the Lambda function is executed.static final String
secret access key obtained from the function's execution role.static final String
The access keys obtained from the function's execution role.static final String
The handler location configured on the function.static final String
The path to runtime libraries.static final String
The path to your Lambda function code.static final String
The environment's time zone (UTC).
-
Field Details
-
HANDLER
The handler location configured on the function.- See Also:
-
AWS_REGION
The AWS Region where the Lambda function is executed.- See Also:
-
AWS_EXECUTION_ENV
The runtime identifier, prefixed by AWS_Lambda_—for example, AWS_Lambda_java8.- See Also:
-
AWS_LAMBDA_FUNCTION_NAME
The name of the function.- See Also:
-
AWS_LAMBDA_FUNCTION_MEMORY_SIZE
The amount of memory available to the function in MB.- See Also:
-
AWS_LAMBDA_FUNCTION_VERSION
The version of the function being executed.- See Also:
-
AWS_LAMBDA_LOG_GROUP_NAME
The name of the Amazon CloudWatch Logs group for the function.- See Also:
-
AWS_LAMBDA_LOG_STREAM_NAME
The name of the Amazon CloudWatch stream for the function.- See Also:
-
AWS_ACCESS_KEY_ID
Access key id obtained from the function's execution role.- See Also:
-
AWS_SECRET_ACCESS_KEY
secret access key obtained from the function's execution role.- See Also:
-
AWS_SESSION_TOKEN
The access keys obtained from the function's execution role.- See Also:
-
AWS_LAMBDA_RUNTIME_API
(Custom runtime) The host and port of the runtime API.- See Also:
-
LAMBDA_TASK_ROOT
The path to your Lambda function code.- See Also:
-
LAMBDA_RUNTIME_DIR
The path to runtime libraries.- See Also:
-
TZ
The environment's time zone (UTC). The execution environment uses NTP to synchronize the system clock.- See Also:
-