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
Note
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.
Topics in this guide
- Get help with the Amazon CLI
- Command structure in the Amazon CLI
- Specify parameter values for the Amazon CLI
- Have the Amazon CLI prompt you for commands
- Control command output from the Amazon CLI
- Return codes from the Amazon CLI
- Interactive commands using the Amazon CLI wizards
- Create and use Amazon CLI command shortcuts called aliases