An open API service indexing awesome lists of open source software.

https://github.com/techprimers/spring-cloud-function-aws-example

Spring Cloud Function using AWS Adapter in AWS Lambda
https://github.com/techprimers/spring-cloud-function-aws-example

aws lambda lambda-functions spring-cloud-function

Last synced: 9 months ago
JSON representation

Spring Cloud Function using AWS Adapter in AWS Lambda

Awesome Lists containing this project

README

          

# Spring Cloud Function using AWS Adapter example

## Exposed Function as API Endpoint using AWS API Gateway
`Hello.java` is exposed as function to the AWS Request Handler using `SpringBootRequestHandler`.
`APIGatewayProxyRequestEvent` is the input object and `APIGatewayProxyResponseEvent` is the response object.

### Command used:

```
curl -X POST -H 'Content-Type: text/plain' -d 'TechPrimers' -i
```