Created
November 19, 2020 05:14
-
-
Save nishabe/d41bb726b955069814a9879a2f90356a to your computer and use it in GitHub Desktop.
serverless.yaml
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: | |
name: nest-serverless-lambda-demo | |
plugins: | |
- 'serverless-plugin-typescript' | |
- serverless-plugin-optimize | |
- serverless-offline | |
provider: | |
name: aws | |
runtime: nodejs12.x | |
functions: | |
main: # The name of the lambda function | |
# The module 'handler' is exported in the file 'src/lambda' | |
handler: src/lambda.handler | |
events: | |
- http: | |
method: any | |
path: /{any+} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment