Using the AWS Command Line Interface or AWS SDKs
You can enable and disable home folders for a stack by using the AWS CLI or AWS SDKs.
Use the following create-stack command to enable home folders while creating a new stack:
aws appstream create-stack --name
ExampleStack
--storage-connectors ConnectorType=HOMEFOLDERS
Use the following update-stack command to enable home folders for an existing stack:
aws appstream update-stack --name
ExistingStack
--storage-connectors ConnectorType=HOMEFOLDERS
Use the following command to disable home folders for an existing stack. This command does not delete any user data.
aws appstream update-stack --name
ExistingStack
--delete-storage-connectors