Back to Aws Sam Cli

Cookiecutter Python Hello-world for SAM based Serverless App

samcli/lib/init/templates/cookiecutter-aws-sam-hello-python/README.md

1.159.1722 B
Original Source

Cookiecutter Python Hello-world for SAM based Serverless App

A cookiecutter template to create a Python Hello world boilerplate using Serverless Application Model (SAM).

Requirements

Usage

Generate a boilerplate template in your current project directory using the following syntax:

  • Python 3.8: sam init --runtime python3.8
  • Python 3.9: sam init --runtime python3.9

NOTE: --name allows you to specify a different project folder name (sam-app is the default)

Credits