Using the command structure - Amazon DCV Session Manager
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).

Using the command structure

This topic covers how the Amazon DCV Session Manager CLI command is structured. The CLI uses a multipart structure on the command line that must be specified in this order:

  1. ./dcvsm–The base call to the program.

  2. [options]– Corresponds to common options that's used by all the commands. You can specify these in any order.

  3. commands– Specifies which operation to perform.

  4. args– Corresponds to the arguments required by the command. For a list of arguments, see Amazon DCV Session Manager CLI reference.

Syntax reference

dcvsm [options] commands args

Arguments can take various types of input values. These include numbers, strings, boolean. What is supported is dependent upon the command that you specify.