Use 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).

Use the Amazon CLI

This section provides a comprehensive overview of the general use, common features, and options available in the Amazon Command Line Interface (Amazon CLI), going beyond the details covered in the Configuration Use endpoints in the Amazon CLI section.

This guide delves into the fundamental aspects of writing Amazon CLI commands, including their basic structure, formatting, and filtering capabilities. By understanding these core elements, you'll be able to construct commands that precisely target the resources and actions you require, without the need to navigate complex web-based consoles.

Additionally, this highlights the help content and documentation available for the Amazon CLI. From the built-in command line help to the comprehensive Amazon CLI version 2 reference guide, you'll have access to information to assist you in exploring the features and capabilities of the Amazon CLI.

For Amazon Web Service specific examples and use cases, see Code examples or the Amazon CLI version 2 reference guide. These provide command specific information and demonstrate examples on how to leverage the Amazon CLI for various Amazon Web Services.

Note

By default, the Amazon CLI sends requests to Amazon Web Services by using HTTPS on TCP port 443. To ensure successful use of the Amazon CLI, you must be able to make outbound connections on this port.