Interface ReservedRuntimeEnvironmentVariables
-
public interface ReservedRuntimeEnvironmentVariablesLambda 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 Summary
Fields Modifier and Type Field Description static StringAWS_ACCESS_KEY_IDAccess key id obtained from the function's execution role.static StringAWS_EXECUTION_ENVThe runtime identifier, prefixed by AWS_Lambda_—for example, AWS_Lambda_java8.static StringAWS_LAMBDA_FUNCTION_MEMORY_SIZEThe amount of memory available to the function in MB.static StringAWS_LAMBDA_FUNCTION_NAMEThe name of the function.static StringAWS_LAMBDA_FUNCTION_VERSIONThe version of the function being executed.static StringAWS_LAMBDA_LOG_GROUP_NAMEThe name of the Amazon CloudWatch Logs group for the function.static StringAWS_LAMBDA_LOG_STREAM_NAMEThe name of the Amazon CloudWatch stream for the function.static StringAWS_LAMBDA_RUNTIME_API(Custom runtime) The host and port of the runtime API.static StringAWS_REGIONThe AWS Region where the Lambda function is executed.static StringAWS_SECRET_ACCESS_KEYsecret access key obtained from the function's execution role.static StringAWS_SESSION_TOKENThe access keys obtained from the function's execution role.static StringHANDLERThe handler location configured on the function.static StringLAMBDA_RUNTIME_DIRThe path to runtime libraries.static StringLAMBDA_TASK_ROOTThe path to your Lambda function code.static StringTZThe environment's time zone (UTC).
-
-
-
Field Detail
-
HANDLER
static final String HANDLER
The handler location configured on the function.- See Also:
- Constant Field Values
-
AWS_REGION
static final String AWS_REGION
The AWS Region where the Lambda function is executed.- See Also:
- Constant Field Values
-
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_NAME
static final String AWS_LAMBDA_FUNCTION_NAME
The name of the function.- 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
-
LAMBDA_TASK_ROOT
static final String LAMBDA_TASK_ROOT
The path to your Lambda function code.- See Also:
- Constant Field Values
-
LAMBDA_RUNTIME_DIR
static final String LAMBDA_RUNTIME_DIR
The path to runtime libraries.- 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
-
-