sam
AWS Serverless Application Model CLI
Subcommands
Name | Description |
---|---|
init | Init an AWS SAM application |
validate | Validate an AWS SAM template |
build | Build your Lambda function code |
local | Run your Serverless application locally for quick development & testing |
package | Package an AWS SAM application |
deploy | Deploy an AWS SAM application |
delete | Delete an AWS SAM application and the artifacts created by `sam deploy` |
logs | Fetch logs for a function |
publish | Publish a packaged AWS SAM template to the AWS Serverless Application Repository |
traces | [Beta Feature] Fetch AWS X-Ray traces |
sync | [Beta Feature] Sync a project to AWS |
pipeline | Manage the continuous delivery of the application |
Options
Name | Description |
---|---|
--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 |