browse
aws/

AWS CLI

Amazon Web Services

Unified command line interface to Amazon Web Services. Provides direct access to AWS service APIs.

Cloud ProvidersJSON
01Install
brew install awscli
Download binary →

02Agent Notes

AWS CLI uses a service-based command structure: `aws <service> <operation>`. Always pass `--output json --no-cli-pager` for machine-readable output. Most read operations start with `describe-` or `list-`. Most mutating operations start with `create-`, `delete-`, `modify-`, or `update-`. Region must be specified via --region flag or AWS_REGION env var.


03Help Output
usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters] To see help text, you can run: aws help aws <command> help aws <command> <subcommand> help aws: error: the following arguments are required: command

04Global Flags
FlagTypeDescription
--regionstringAWS region to target
--profilestringNamed profile from credentials file
--outputenum [json, text, table, yaml]Output format
--no-cli-pagerbooleanDisable automatic pagination of output

05Authentication
Methods
environment-variablesconfig-fileinstance-rolesso
Env vars
AWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEYAWS_SESSION_TOKENAWS_PROFILEAWS_REGION
Config files
~/.aws/credentials~/.aws/config
Setupaws configure

06Capabilities
Reference
binaryaws
checkaws --version
authenvironment-variables, config-file, instance-role, sso
formatstable, text, yaml, yaml-stream
json flag--output json
version1.44.58