Skip to content

Update Document Default Version

ssm_update_document_default_version R Documentation

Set the default version of a document

Description

Set the default version of a document.

If you change a document version for a State Manager association, Systems Manager immediately runs the association unless you previously specifed the apply-only-at-cron-interval parameter.

Usage

ssm_update_document_default_version(Name, DocumentVersion)

Arguments

Name

[required] The name of a custom document that you want to set as the default version.

DocumentVersion

[required] The version of a custom document that you want to set as the default version.

Value

A list with the following syntax:

list(
  Description = list(
    Name = "string",
    DefaultVersion = "string",
    DefaultVersionName = "string"
  )
)

Request syntax

svc$update_document_default_version(
  Name = "string",
  DocumentVersion = "string"
)