CmdID

CmdID / aws / aws ssm

aws ssm update-document-default-version

Set the default version of a document. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To update the default version of a document

The following update-document-default-version example updates the default version of a Systems Manager document.

aws ssm update-document-default-version --name "Example" --document-version "2"Identify
--nameThe name of a custom document that you want to set as the default version.
--document-versionThe version of a custom document that you want to set as the default version.
Its output
{
    "Description": {
        "Name": "Example",
        "DefaultVersion": "2"
    }
}

For more information, see Writing SSM Document Content in the AWS Systems Manager User Guide.

Options

2 in the AWS CLI reference
--document-versionThe version of a custom document that you want to set as the default version.
--nameThe name of a custom document that you want to set as the default version.