Handling https requests without an API gateway

What are some ways to handle http (s) requests using AWS lambda , but without using API Gateway or Amazon Kinesis ? Is it possible at all?

In particular, I want to implement my own REST API, but without paying for the API Gateway service, using only AWS lambda .

I do not ask for a tutorial or library , it is fundamentally about the architecture of Amazon services .

All this is about Java 8 runtime.

+5
source share
1 answer

You can use Invoke from the AWS Lambda API to call your lambda functions.

To use it through the AWS SDK for Java, check the public InvokeResult invoke(InvokeRequest invokeRequest) from the AWSLambdaClient class in the com.amazonaws.services.lambda package.

But, as Michael wrote in the comments, I think you should pay $ 3.50 per million requests using API Gateway ! :)

+6
source

Source: https://habr.com/ru/post/1243531/


All Articles