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.
    See Also:
    Using AWS Lambda Environment Variables NOTICE: This class is forked from io.micronaut.function.aws.runtime.ReservedRuntimeEnvironments found at https://github.com/micronaut-projects/micronaut-aws
    • Field Detail

      • AWS_EXECUTION_ENV

        static final String AWS_EXECUTION_ENV
        The runtime identifier, prefixed by AWS_Lambda_—for example, AWS_Lambda_java8.
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • AWS_LAMBDA_FUNCTION_VERSION

        static final String AWS_LAMBDA_FUNCTION_VERSION
        The version of the function being executed.
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • AWS_ACCESS_KEY_ID

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

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

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

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

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