browseDownload binary →
sam/AWS SAM CLI
Amazon Web ServicesBuild, test, and deploy serverless applications defined with AWS SAM templates.
Cloud Providers
01Install
brew install aws-sam-cli02Global Flags
| Flag | Type | Description |
|---|---|---|
--region | string | AWS region |
--profile | string | AWS credentials profile |
--no-color | boolean | Disable color output |
--debug | boolean | Enable debug logging |
03Authentication
Methods
environment-variablesconfig-file
Env vars
AWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEYAWS_SESSION_TOKENAWS_PROFILEAWS_REGIONConfig files
~/.aws/credentials~/.aws/configSetup
aws configure04Capabilities
Reference
binary
samcheck
sam --versionauth
environment-variables, config-fileformats
text