How to apply a Before Session Script on S3 storage connector in AppStream

0

I'm trying to hide from users a folder generated by our app. Persistent storage is configured with S3 and that's where the folder is stored. Now I would like to run a BAT file that would change the folder attribute on startup. But since the session scripts and storage connector mounting happens in parallel how can one run a BAT file after the mount is complete? session_script

已提问 2 年前449 查看次数
1 回答
1

You can check the storage connector registry key to get the mount status, and have your script wait for the connector to be available.

https://docs.aws.amazon.com/appstream2/latest/developerguide/use-session-scripts.html#use-storage-connectors-with-session-scripts

profile pictureAWS
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则