Class ApplicationLoadBalancerMicronautLambdaRuntime

java.lang.Object
io.micronaut.function.aws.runtime.AbstractMicronautLambdaRuntime<com.amazonaws.services.lambda.runtime.events.ApplicationLoadBalancerRequestEvent,com.amazonaws.services.lambda.runtime.events.ApplicationLoadBalancerResponseEvent,com.amazonaws.services.lambda.runtime.events.ApplicationLoadBalancerRequestEvent,com.amazonaws.services.lambda.runtime.events.ApplicationLoadBalancerResponseEvent>
io.micronaut.function.aws.runtime.ApplicationLoadBalancerMicronautLambdaRuntime
All Implemented Interfaces:
io.micronaut.context.ApplicationContextProvider, AwsLambdaRuntimeApi

public class ApplicationLoadBalancerMicronautLambdaRuntime extends AbstractMicronautLambdaRuntime<com.amazonaws.services.lambda.runtime.events.ApplicationLoadBalancerRequestEvent,com.amazonaws.services.lambda.runtime.events.ApplicationLoadBalancerResponseEvent,com.amazonaws.services.lambda.runtime.events.ApplicationLoadBalancerRequestEvent,com.amazonaws.services.lambda.runtime.events.ApplicationLoadBalancerResponseEvent>
Main entry for AWS ALB with Micronaut.
Since:
2.0.0
Author:
sdelamo
  • Constructor Details

    • ApplicationLoadBalancerMicronautLambdaRuntime

      public ApplicationLoadBalancerMicronautLambdaRuntime()
  • Method Details

    • createRequestHandler

      protected com.amazonaws.services.lambda.runtime.RequestHandler<com.amazonaws.services.lambda.runtime.events.ApplicationLoadBalancerRequestEvent,com.amazonaws.services.lambda.runtime.events.ApplicationLoadBalancerResponseEvent> createRequestHandler(String... args)
      Overrides:
      createRequestHandler in class AbstractMicronautLambdaRuntime<com.amazonaws.services.lambda.runtime.events.ApplicationLoadBalancerRequestEvent,com.amazonaws.services.lambda.runtime.events.ApplicationLoadBalancerResponseEvent,com.amazonaws.services.lambda.runtime.events.ApplicationLoadBalancerRequestEvent,com.amazonaws.services.lambda.runtime.events.ApplicationLoadBalancerResponseEvent>
      Parameters:
      args - Command Line Args
      Returns:
      a RequestHandler or null.
    • main

      public static void main(String[] args) throws Exception
      Parameters:
      args - Command Line args
      Throws:
      Exception