public class AWSLambda extends Object
startRuntime(java.lang.String)
. It performs two main tasks:
1. loads the user's handler.
2. enters the Lambda runtime loop which handles function invocations as defined in the Lambda Custom Runtime API.
Once initialized, startRuntime(java.lang.String)
will halt only if an irrecoverable error occurs.
Modifier and Type | Field and Description |
---|---|
protected static URLClassLoader |
customerClassLoader |
Constructor and Description |
---|
AWSLambda() |
Modifier and Type | Method and Description |
---|---|
static String |
getEnvOrExit(String envVariableName) |
static void |
main(String[] args) |
static void |
setupRuntimeLogger(com.amazonaws.services.lambda.runtime.LambdaLogger lambdaLogger) |
protected static URLClassLoader customerClassLoader
public static void setupRuntimeLogger(com.amazonaws.services.lambda.runtime.LambdaLogger lambdaLogger) throws ClassNotFoundException, IllegalAccessException, NoSuchFieldException
public static void main(String[] args)
Copyright © 2022. All rights reserved.