sam list
This page provides reference information for the Amazon Serverless Application Model Command Line Interface (Amazon SAM CLI)
sam list
command.
For an introduction to the Amazon SAM CLI, see What is the Amazon SAM CLI?.
The sam list
command outputs important information about the resources in your serverless application and the state of your serverless
application. Use sam list before and after deployment to assist during local and cloud
development.
Usage
$
sam list
<options>
<subcommand>
Options
--help, -h
-
Show this message and exit.
Subcommands
endpoints
-
Displays a list of cloud and local endpoints from your Amazon CloudFormation stack. For more information, see sam list endpoints.
resources
-
Displays the resources in your Amazon Serverless Application Model (Amazon SAM) template that are created in Amazon CloudFormation at deployment. For more information, see sam list resources.
stack-outputs
-
Displays the outputs of your Amazon CloudFormation stack from an Amazon SAM or Amazon CloudFormation template. For more information, see sam list stack-outputs.