sam --help
Jump to navigation
Jump to search
sam --help
Usage: sam [OPTIONS] COMMAND [ARGS]...
AWS Serverless Application Model (SAM) CLI
The AWS Serverless Application Model extends AWS CloudFormation to provide
a simplified way of defining the Amazon API Gateway APIs, AWS Lambda
functions, and Amazon DynamoDB tables needed by your serverless
application. You can find more in-depth guide about the SAM specification
here: https://github.com/awslabs/serverless-application-model.
Options:
--debug Turn on debug logging to print debug message generated by SAM
CLI and display timestamps.
--version Show the version and exit.
--info
-h, --help Show this message and exit.
Commands: 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 &... package Package an AWS SAM application. deploy Deploy an AWS SAM application. logs Fetch logs for a function publish Publish a packaged AWS SAM template to the AWS Serverless Application Repositoryº.
See also[edit]
- AWS SAM:
sam[init | deploy | build | local ],sam --version,sam --help
Advertising: