Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (21 sloc) 442 Bytes
service: serverless-learn-lambda
provider:
name: aws
runtime: python3.6
region: us-west-2
stage: dev
role: arn:aws:iam::XXX:role/serverless-lambda
functions:
myCron:
handler: handler.run
events:
- schedule: rate(1 hour)
layers:
- arn:aws:lambda:us-west-2:XXX:layer:my-aws-python-packages:1
package:
exclude:
- __pycache__/**
- "*.ipynb"
- .ipynb_checkpoints/**
- "*.md"
- venv/**
You can’t perform that action at this time.