python serverless framework code example
Example: creating rest api in serverless with python
1$ sls deploy
2... snip ...
3Service Information
4service: serverless-flask
5stage: dev
6region: us-east-1
7stack: serverless-flask-dev
8api keys:
9 None
10endpoints:
11 ANY - https://bl4r0gjjv5.execute-api.us-east-1.amazonaws.com/dev
12 ANY - https://bl4r0gjjv5.execute-api.us-east-1.amazonaws.com/dev/{proxy+}
13functions:
14 app: serverless-flask-dev-app