All apps/AWS SAM CLI

AWS SAM CLI

sam

AWS Serverless Application Model CLI.

Runs as sam|macOS, Linux, Windows|aws.amazon.com

Autocomplete

Fig spec, with what the manifest adds · 18 subcommands · 4 options
Published once and never changed; check the digest before caching
sha256
91c7d9ba724121563822a8f37bb087862f8364915102a07661f90f85f986f440
Size
65409 bytes
Subcommands18 subcommands
sam init
Init an AWS SAM application
sam validate
Validate an AWS SAM template
sam build
Build your Lambda function code
sam local
Run your Serverless application locally for quick development & testing
sam local generate-event
You can use this command to generate sample payloads from different event sources such as S3, API Gateway, and SNS
sam local invoke
Invokes a local Lambda function once
sam local start-api
Sets up a local endpoint you can use to test your API
sam local start-lambda
Starts a local endpoint you can use to invoke your local Lambda functions
sam package
Package an AWS SAM application
sam deploy
Deploy an AWS SAM application
sam delete
Delete an AWS SAM application and the artifacts created by `sam deploy`
sam logs
Fetch logs for a function
sam publish
Publish a packaged AWS SAM template to the AWS Serverless Application Repository
sam traces
[Beta Feature] Fetch AWS X-Ray traces
sam sync
[Beta Feature] Sync a project to AWS
sam pipeline
Manage the continuous delivery of the application
sam pipeline init
Generates a CI/CD pipeline configuration file
sam pipeline bootstrap
Generates the required AWS resources to connect your CI/CD system
OptionsOn sam itself
--debug
Turn on debug logging to print debug message generated by SAM CLI and display timestamps
--help-h
Show help for sam
--version
Show the version and exit
--info