aws ssm update-document

Updates one or more values for an SSM document

Options

NameDescription
--content <string>A valid JSON or YAML string
--attachments <list>A list of key and value pairs that describe attachments to a version of a document
--name <string>The name of the document that you want to update
--version-name <string>An optional field specifying the version of the artifact you are updating with the document. For example, "Release 12, Update 6". This value is unique across all versions of a document, and cannot be changed
--document-version <string>The version of the document that you want to update. Currently, Systems Manager supports updating only the latest version of the document. You can specify the version number of the latest version or use the $LATEST variable
--document-format <string>Specify the document format for the new document version. Systems Manager supports JSON and YAML documents. JSON is the default format
--target-type <string>Specify a new target type for the document
--cli-input-json <string>Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally
--generate-cli-skeleton <string>Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command