18 lines
298 B
YAML

service: service
configValidationMode: error
frameworkVersion: '*'
provider:
name: aws
runtime: nodejs12.x
lambdaHashingVersion: 20201221
functions:
foo:
handler: index.handler
events:
- cloudFront:
eventType: origin-request
origin: https://example.com