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 information about general use, common features, and options available in the Amazon Command Line Interface (Amazon CLI), beyond what is written in the Configuration Use endpoints in the Amazon CLI section. Instructions include how to write a command, basic structure, formatting, filtering, and locating the help content or documentation for a command.

For Amazon Web Service specific examples, see Code examples or the Amazon CLI version 2 reference guide.


By default, the Amazon CLI sends requests to Amazon services by using HTTPS on TCP port 443. To use the Amazon CLI successfully, you must be able to make outbound connections on TCP port 443.