private LambdaContainerHandler<
          AwsProxyRequest, AwsProxyResponse, AwsProxyHttpServletRequest, AwsHttpServletResponse>
      getHandler() {
    // TODO: lazy initialization was copied from the example code, figure out why we can't
    // statically initialize the handler instead.
    if (handler == null) {
      try {
        log.info("Initializing handler (probably a cold start)");
        handler = SpringLambdaContainerHandler.getAwsProxyHandler(Application.class);
      } catch (ContainerInitializationException e) {
        throw new RuntimeException(e);
      }
    }
    return handler;
  }
Entrypoint for mapping incoming API GW requests to Lambda into Spring controllers
frontend-service/src/main/java/com/amazonaws/blox/frontend/LambdaHandler.java