Difference between revisions of "Sam init"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<code>[[sam init]]</code> command creates an application with sample code, unit tests, and the SAM template itself. It also allows you to initialize SAM applications using a custom structure so you can standardize them across teams and organizations.<ref>https://www.amazonaws.cn/en/new/2018/aws-sam-cli-simplifies-building-serverless-apps/#:~:text=The%20new%20SAM%20init%20command%20creates%20an%20application,using%20the%20SAM%20init%20command%2C%20visit%20our%20documentation.
+
{{lowercase}}
 +
<code>[[sam]] init</code> command creates an application with sample code, unit tests, and the [[SAM]] template itself. It also allows you to initialize SAM applications using a custom structure so you can standardize them across teams and organizations.<ref>https://www.amazonaws.cn/en/new/2018/aws-sam-cli-simplifies-building-serverless-apps/#:~:text=The%20new%20SAM%20init%20command%20creates%20an%20application,using%20the%20SAM%20init%20command%2C%20visit%20our%20documentation.
 
</ref>
 
</ref>
  
==See also==
+
<pre>
 +
sam init
 +
 
 +
SAM CLI now collects telemetry to better understand customer needs.
 +
 
 +
You can OPT OUT and disable telemetry collection by setting the
 +
environment variable SAM_CLI_TELEMETRY=0 in your shell.
 +
Thanks for your help!
 +
 
 +
Learn More: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-telemetry.html
 +
 
 +
Which template source would you like to use?
 +
1 - AWS Quick Start Templates
 +
2 - Custom Template Location
 +
Choice: 2
 +
 
 +
Template location (git, mercurial, http(s), zip, path):
 +
</pre>
 +
 
 +
== See also ==
 
* {{sam}}
 
* {{sam}}
* {{AWS}}
+
 
 
[[category:AWS]]
 
[[category:AWS]]

Latest revision as of 14:43, 30 November 2021

sam init command creates an application with sample code, unit tests, and the SAM template itself. It also allows you to initialize SAM applications using a custom structure so you can standardize them across teams and organizations.[1]

sam init

	SAM CLI now collects telemetry to better understand customer needs.

	You can OPT OUT and disable telemetry collection by setting the
	environment variable SAM_CLI_TELEMETRY=0 in your shell.
	Thanks for your help!

	Learn More: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-telemetry.html

Which template source would you like to use?
	1 - AWS Quick Start Templates
	2 - Custom Template Location
Choice: 2

Template location (git, mercurial, http(s), zip, path):

See also[edit]

  • https://www.amazonaws.cn/en/new/2018/aws-sam-cli-simplifies-building-serverless-apps/#:~:text=The%20new%20SAM%20init%20command%20creates%20an%20application,using%20the%20SAM%20init%20command%2C%20visit%20our%20documentation.
  • Advertising: