CmdID / aws / aws workspaces
aws workspaces migrate-workspace
Migrates a WorkSpace from one operating system or bundle type to another, while retaining the data on the user volume. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To migrate a WorkSpace
The following migrate-workspace example migrates the specified WorkSpace to the specified bundle.
aws workspaces migrate-workspace --source-workspace-id ws-dk1xzr417 --bundle-id wsb-j4dky1gs4Identify--source-workspace-idThe identifier of the WorkSpace to migrate from.--bundle-idThe identifier of the target bundle type to migrate the WorkSpace to.Its output
{
"SourceWorkspaceId": "ws-dk1xzr417",
"TargetWorkspaceId": "ws-x5h1lbkp5"
}For more information, see Migrate a WorkSpace in the Amazon WorkSpaces Administration Guide.
Options
--bundle-idThe identifier of the target bundle type to migrate the WorkSpace to.--source-workspace-idThe identifier of the WorkSpace to migrate from.