Class APIGatewayV2HTTPEventMicronautLambdaRuntime

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

public class APIGatewayV2HTTPEventMicronautLambdaRuntime extends AbstractMicronautLambdaRuntime<com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent,com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPResponse,com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent,com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPResponse>
Main entry for AWS API proxy with Micronaut.
Since:
2.0.0
Author:
sdelamo
  • Constructor Details

    • APIGatewayV2HTTPEventMicronautLambdaRuntime

      public APIGatewayV2HTTPEventMicronautLambdaRuntime()
  • Method Details

    • createRequestHandler

      protected com.amazonaws.services.lambda.runtime.RequestHandler<com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent,com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPResponse> createRequestHandler(String... args)
      Overrides:
      createRequestHandler in class AbstractMicronautLambdaRuntime<com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent,com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPResponse,com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent,com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPResponse>
      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