Guided command examples for the Amazon CLI - 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).

This documentation is for Version 1 of the Amazon CLI only. For documentation related to Version 2 of the Amazon CLI, see the Version 2 User Guide.

Guided command examples for the Amazon CLI

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 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 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 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 Services service, see the Amazon CLI reference guide. Additionally, you can utilize the built-in command line help to explore the array of Amazon Web Services 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 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.