A list of useful commands, params etc. for the AWS CLI
General
Command | Description |
---|---|
aws --version | Get the version |
Services
Command | Description |
---|---|
aws <service-name> <command> <arguments> | Invoke commands on the given service |
S3 Buckets
Command | Description |
---|---|
aws s3 ls | List the S3 buckets |
Repositories
Command | Description |
---|---|
aws ecr create-repository | |
--repository-name <name> --region <region> --profile <profile-name> |
Create a named ECR repository |
Configuration
Command | Description |
---|---|
aws configure | Create a configuration profile |
aws configure list-profiles | List the stored profile names |
Help
Command | Description |
---|---|
aws help | Invoke the top level help |
aws <command> help | Help for a specific command |
aws <command> <subcommand> help | Help for a specific subcommand for a given command |