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

asked 2 years ago436 views
1 Answer
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
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions