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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南