AWS CLI Cheatsheet
CLI Command Structure:
aws <command> <subcommand> [options and parameters]
aws <command> wait <subcommand> [options and parameters]
(supported by some commands)
Info
Save output to a file using the >
command. For example: aws dynamodb scan --table-name MusicCollection > output.json
.
Tip: Use >>
to append to a file. Also useful - Load Parameters from a file
Set Up
Using long-term credentials with IAM user (Not recommended):