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 Details

    • HANDLER

      static final String HANDLER
      The handler location configured on the function.
      See Also:
    • AWS_REGION

      static final String AWS_REGION
      The AWS Region where the Lambda function is executed.
      See Also:
    • AWS_EXECUTION_ENV

      static final String AWS_EXECUTION_ENV
      The runtime identifier, prefixed by AWS_Lambda_—for example, AWS_Lambda_java8.
      See Also:
    • AWS_LAMBDA_FUNCTION_NAME

      static final String AWS_LAMBDA_FUNCTION_NAME
      The name of the function.
      See Also:
    • AWS_LAMBDA_FUNCTION_MEMORY_SIZE

      static final String AWS_LAMBDA_FUNCTION_MEMORY_SIZE
      The amount of memory available to the function in MB.
      See Also:
    • AWS_LAMBDA_FUNCTION_VERSION

      static final String AWS_LAMBDA_FUNCTION_VERSION
      The version of the function being executed.
      See Also:
    • AWS_LAMBDA_LOG_GROUP_NAME

      static final String AWS_LAMBDA_LOG_GROUP_NAME
      The name of the Amazon CloudWatch Logs group for the function.
      See Also:
    • AWS_LAMBDA_LOG_STREAM_NAME

      static final String AWS_LAMBDA_LOG_STREAM_NAME
      The name of the Amazon CloudWatch stream for the function.
      See Also:
    • AWS_ACCESS_KEY_ID

      static final String AWS_ACCESS_KEY_ID
      Access key id obtained from the function's execution role.
      See Also:
    • AWS_SECRET_ACCESS_KEY

      static final String AWS_SECRET_ACCESS_KEY
      secret access key obtained from the function's execution role.
      See Also:
    • AWS_SESSION_TOKEN

      static final String AWS_SESSION_TOKEN
      The access keys obtained from the function's execution role.
      See Also:
    • AWS_LAMBDA_RUNTIME_API

      static final String AWS_LAMBDA_RUNTIME_API
      (Custom runtime) The host and port of the runtime API.
      See Also:
    • LAMBDA_TASK_ROOT

      static final String LAMBDA_TASK_ROOT
      The path to your Lambda function code.
      See Also:
    • LAMBDA_RUNTIME_DIR

      static final String LAMBDA_RUNTIME_DIR
      The path to runtime libraries.
      See Also:
    • TZ

      static final String TZ
      The environment's time zone (UTC). The execution environment uses NTP to synchronize the system clock.
      See Also: