Difference between revisions of "Sam --help"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 20: Line 20:
 
   -h, --help  Show this message and exit.
 
   -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.
 
 
</pre>
 
</pre>
 +
Commands:
 +
  [[init]]      Init an AWS SAM application.
 +
  [[validate]]  Validate an AWS SAM template.
 +
  [[sam build|build]]    Build your Lambda function code
 +
  [[sam local|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 ==
 
== See also ==

Latest revision as of 23:23, 8 March 2022

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]

Advertising: