browse
sam/

AWS SAM CLI

Amazon Web Services

Build, test, and deploy serverless applications defined with AWS SAM templates.

Cloud Providers
01Install
brew install aws-sam-cli
Download binary →

02Global Flags
FlagTypeDescription
--regionstringAWS region
--profilestringAWS credentials profile
--no-colorbooleanDisable color output
--debugbooleanEnable debug logging

03Authentication
Methods
environment-variablesconfig-file
Env vars
AWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEYAWS_SESSION_TOKENAWS_PROFILEAWS_REGION
Config files
~/.aws/credentials~/.aws/config
Setupaws configure

04Capabilities
Reference
binarysam
checksam --version
authenvironment-variables, config-file
formatstext