sam publish

Publish a packaged AWS SAM template to the AWS Serverless Application Repository

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
-t, --template-file, --template <path>AWS SAM template file
--semantic-version <text>The value provided here overrides SemanticVersion in the template metadata