sam delete

Delete an AWS SAM application and the artifacts created by `sam deploy`

Options

NameDescription
--config-env <environment>The environment name specifying the default parameter values in the configuration file to use
--config-file <config file>The path and file name of the configuration file containing default parameter values to use
--debugTurn on debug logging to print debug message generated by SAM CLI and display timestamps
--help, -hShow help for sam
--profile <profile name>Select a specific profile from your credential file to get AWS credentials
--region <region>Set the AWS Region of the service
--stack-name <cloudformation stack name>The name of the AWS CloudFormation stack you're deploying to. If you specify an existing stack, the command updates the stack. If you specify a new stack, the command creates it
--no-prompts
  • Dangerous 💥