serverless
Version:
Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more
28 lines (23 loc) • 486 B
YAML
service: service
configValidationMode: error
frameworkVersion: '*'
provider:
name: aws
logRetentionInDays: 14
functions:
foo:
handler: index.handler
# provisionedConcurrency: 1 # Increases significantly test time
events:
- httpApi:
method: GET
path: /foo
- httpApi:
method: POST
path: /some-post
other:
handler: index.handler
events:
- httpApi:
method: get
path: /bar/{marko}