Last active
September 22, 2017 09:32
-
-
Save bytekast/0ef63bf31d3b7a278b8aceb8b356c0ec to your computer and use it in GitHub Desktop.
Serverless with Spring Boot / Spring Data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service: springboot-lambda | |
provider: | |
name: aws | |
runtime: java8 | |
memorySize: 1536 | |
timeout: 60 | |
package: | |
artifact: build/distributions/springboot-lambda.zip | |
functions: | |
users: | |
handler: com.serverless.LambdaHandler | |
events: | |
- http: | |
path: users | |
method: get | |
cors: true | |
- http: | |
path: users/{lastName} | |
method: get | |
cors: true | |
- http: | |
path: users/create | |
method: post | |
cors: true | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment