Guided Amazon CLI command examples - Amazon Command Line Interface
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Guided Amazon CLI command examples

The Amazon Command Line Interface (Amazon CLI) is an open source tool that enables you to interact with a wide range of Amazon Web Services using commands in your command-line shell. This section provides guided examples that show how to leverage the Amazon CLI to access some of the Amazon Web Services. This includes some of the custom Amazon CLI commands, such as the high-level aws s3 commands. These command examples demonstrate common actions used for some Amazon Web Services and provide additional resources for more information.

Whether you are an experienced Amazon user or new to the Amazon CLI, these guided examples serve as a resource for streamlining your Amazon operations.

For a complete reference of all the available commands for each Amazon Web Service, see the Amazon CLI version 2 reference guide. Additionally, you can utilize the built-in command line help to explore the array of Amazon Web Services, commands, options, and features in the Amazon CLI.

For more command examples that are not available in this section, see the Amazon CLI command examples section. These are open source command examples that are also available in the Amazon CLI version 2 reference guide. Command examples are hosted in the Amazon CLI repository on GitHub.

For open source bash scripting examples, see Amazon CLI with Bash script code examples. Bash scripting examples are hosted in the Amazon Code Examples Repository on GitHub.