UNPKG

@amazon-codecatalyst/blueprints.sam-serverless-application

Version:

This blueprint creates a project that leverages a serverless application model (SAM) to quickly create and deploy an API. You can choose Java, TypeScript, or Python as the programming language

24 lines (13 loc) 845 B
# Cookiecutter Python Hello-world for SAM based Serverless App A cookiecutter template to create a Python Hello world boilerplate using [Serverless Application Model (SAM)](https://github.com/awslabs/serverless-application-model). This template creates a Serverless Application that reacts to EC2 Instance State change events, demonstrating the power of event-driven development with Amazon EventBridge. ## Requirements - [AWS SAM CLI](https://github.com/awslabs/aws-sam-cli) ## Usage Generate a boilerplate template in your current project directory using the following syntax: - **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 - This project has been generated with [Cookiecutter](https://github.com/audreyr/cookiecutter)