serverless
Version:
Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more
26 lines (22 loc) • 458 B
YAML
service:
name: aws-nodejs-ecma-script
# app and org for use with dashboard.serverless.com
#app: your-app-name
#org: your-org-name
frameworkVersion: '2'
# Add the serverless-webpack plugin
plugins:
- serverless-webpack
provider:
name: aws
runtime: nodejs12.x
lambdaHashingVersion: 20201221
functions:
first:
handler: first.hello
second:
handler: second.hello
events:
- httpApi:
method: get
path: /second