Last active
August 4, 2019 06:18
-
-
Save ystoneman/da5e1ca40eec61d6542e0dd7658eff18 to your computer and use it in GitHub Desktop.
Spring Boot Lambda with the serverless framework
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: petstore | |
provider: | |
name: aws | |
runtime: java8 | |
memorySize: 1512 | |
timeout: 60 | |
stage: ${opt:stage,'dev'} | |
region: ${opt:region, 'us-west-2'} | |
profile: ${opt:profile, "default"} | |
endpointType: REGIONAL | |
resources: | |
Description: Example Pet Store API written with SpringBoot with the aws-serverless-java-container library | |
package: | |
individually: true | |
functions: | |
SpringBootPetStoreApi: | |
package: | |
artifact: target/serverless-spring-boot-example-1.0-SNAPSHOT-lambda-package.zip | |
handler: com.amazonaws.serverless.sample.springboot.StreamLambdaHandler::handleRequest | |
events: | |
- http: | |
path: /{proxy+} | |
method: ANY |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment