Difference between revisions of "Sam --help"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 24: Line 24:
 
   [[init]]      Init an AWS SAM application.
 
   [[init]]      Init an AWS SAM application.
 
   [[validate]]  Validate an AWS SAM template.
 
   [[validate]]  Validate an AWS SAM template.
   [[sam build]]    Build your Lambda function code
+
   [[sam build|build]]    Build your Lambda function code
   [[local]]    Run your Serverless application locally for quick development &...
+
   [[sam local|local]]    Run your Serverless application locally for quick development &...
 
   [[package]]  Package an AWS SAM application.
 
   [[package]]  Package an AWS SAM application.
 
   [[deploy]]    Deploy an AWS SAM application.
 
   [[deploy]]    Deploy an AWS SAM application.

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: