serverless
Version:
Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more
26 lines (21 loc) • 384 B
YAML
service: service
configValidationMode: error
frameworkVersion: '*'
provider:
name: aws
functions:
foo:
handler: index.handler
events:
- http:
method: GET
path: /foo
- http:
method: POST
path: /some-post
other:
handler: index.handler
events:
- http:
method: get
path: /bar/{marko}