aws-sam-cli
aws-sam-cli-app-templates | aws-sam-cli | |
---|---|---|
8 | 2 | |
438 | 5,523 | |
1.6% | - | |
8.1 | 9.2 | |
23 days ago | about 3 years ago | |
Python | Python | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
aws-sam-cli-app-templates
-
Stream Amazon Bedrock Response with AWS Lambda Response Streaming
Cloning from https://github.com/aws/aws-sam-cli-app-templates (process may take a moment) ----------------------- Generating application: ----------------------- Name: lambda-bedrock Runtime: nodejs18.x Architectures: x86_64 Dependency Manager: npm Application Template: response-streaming Output Directory: . Configuration file: lambda-bedrock\samconfig.toml Next steps can be found in the README file at lambda-berdrock\README.md
-
AWESOME SAM
SAM Application Let's follow the popular SAM example to create a Python Hello world Lambda function.
-
AWS Lambda in Go, running locally with SAM and Docker
# Run this command $ sam init You can preselect a particular runtime or package type when using the `sam init` experience. Call `sam init --help` to learn more. Which template source would you like to use? 1 - AWS Quick Start Templates 2 - Custom Template Location Choice: 1 Choose an AWS Quick Start application template 1 - Hello World Example 2 - Multi-step workflow 3 - Serverless API 4 - Scheduled task 5 - Standalone function 6 - Data processing 7 - Infrastructure event management 8 - Lambda EFS example 9 - Machine Learning Template: 1 Use the most popular runtime and package type? (Python and zip) [y/N]: n Which runtime would you like to use? 1 - dotnet6 2 - dotnet5.0 3 - dotnetcore3.1 4 - go1.x 5 - graalvm.java11 (provided.al2) 6 - graalvm.java17 (provided.al2) 7 - java11 8 - java8.al2 9 - java8 10 - nodejs16.x 11 - nodejs14.x 12 - nodejs12.x 13 - python3.9 14 - python3.8 15 - python3.7 16 - python3.6 17 - ruby2.7 18 - rust (provided.al2) Runtime: 4 What package type would you like to use? 1 - Zip 2 - Image Package type: 1 Based on your selections, the only dependency manager available is mod. We will proceed copying the template using mod. Would you like to enable X-Ray tracing on the function(s) in your application? [y/N]: n Project name [sam-app]: test Cloning from https://github.com/aws/aws-sam-cli-app-templates (process may take a moment) ----------------------- Generating application: ----------------------- Name: test Runtime: go1.x Architectures: x86_64 Dependency Manager: mod Application Template: hello-world Output Directory: . Next steps can be found in the README file at ./test/README.md Commands you can use next ========================= [*] Create pipeline: cd test && sam pipeline init --bootstrap [*] Validate SAM template: sam validate [*] Test Function in the Cloud: sam sync --stack-name {stack-name} --watch
-
Unlock innovation using data from your on-premises databases (III) - Event-driven apps
If you want to follow the next steps, you need to install the AWS SAM CLI. SAM provides project templates to initialize different kinds of sample serverless applications. I will skip that part, but I encourage you to check the built-in project templates or create your own using Cookiecutter.
-
Misadventures Playing in Rust on AWS Lambda
During all of this I had an AWS Solutions Architect guided me through my pitfalls. Nicolas Moutschen has a fully realized version of what I was prototyping sitting in a pull request to the AWS SAM CLI, and a much larger and more comprehensive Rust application available here.
-
SNS/S3/API AWS Lambda opinionated boilerplate cookicutter
Collection of cookiecutter from AWS SAM: link
-
Error when deploying AWS SAM for the first time
I am trying to deploy one of the SAM templates provided by AWS (nodejs 12 hello world template https://github.com/aws/aws-sam-cli-app-templates/tree/master/nodejs12.x/cookiecutter-aws-sam-hello-nodejs). I have not used AWS SAM before. However could successfully build the application. But when I try to deploy, I get the following error in the terminal.
-
a first look at aws sam
Cloning app templates from https://github.com/aws/aws-sam-cli-app-templates AWS quick start application templates: 1 - Hello World Example 2 - Step Functions Sample App (Stock Trader) 3 - Quick Start: From Scratch 4 - Quick Start: Scheduled Events 5 - Quick Start: S3 6 - Quick Start: SNS 7 - Quick Start: SQS 8 - Quick Start: Web Backend
aws-sam-cli
-
Building Scalable Applications with AWS Serverless Application Model
64 bit
-
a first look at aws sam
{ "name": "hello_world", "version": "1.0.0", "description": "hello world sample for NodeJS", "main": "app.js", "repository": "https://github.com/awslabs/aws-sam-cli/tree/develop/samcli/local/init/templates/cookiecutter-aws-sam-hello-nodejs", "author": "SAM CLI", "license": "MIT", "dependencies": { "axios": "^0.21.1" }, "scripts": { "test": "mocha tests/unit/" }, "devDependencies": { "chai": "^4.2.0", "mocha": "^8.2.1" } }
What are some alternatives?
go-lambda-cookiecutter - https://dev.to/zahaar/snss3api-aws-lambda-opinionated-boilerplate-cookicutter-8f3
Zappa - Serverless Python
cookiecutter - A cross-platform command-line utility that creates projects from cookiecutters (project templates), e.g. Python package projects, C projects.
mangum - AWS Lambda support for ASGI applications
serverless-rust-demo - Sample serverless application written in Rust
aws-cdk-sam-demo - A demo of how to use AWS SAM to test lambda and API Gateway locally generated with AWS CDK.
serverless-application-model - The AWS Serverless Application Model (AWS SAM) transform is a AWS CloudFormation macro that transforms SAM templates into CloudFormation templates.
aws-sam-cli - CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM
bash-lambda-layer - Run Bash scripts in AWS Lambda via Layers
aws-local-lambda-test
instance-scheduler - Instance Scheduler based on Serverless