Set up Automation for Rocket Enterprise Analyzer (formerly Micro Focus) and Rocket Enterprise Developer Streaming Sessions - AWS Mainframe Modernization

AWS Mainframe Modernization Service (Managed Runtime Environment experience) is no longer open to new customers. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see AWS Mainframe Modernization availability change.

Set up Automation for Rocket Enterprise Analyzer (formerly Micro Focus) and Rocket Enterprise Developer Streaming Sessions

You can automatically run a script at session start and end to allow automation that is specific to your customer context. For more information on this WorkSpaces Applications feature, see Use Session Scripts to Manage Your AppStream 2.0 Users' Streaming Experience in the Amazon WorkSpaces Applications Administration Guide.

This feature requires that you have at least the following versions of the Enterprise Analyzer and Enterprise Developer images:

  • m2-enterprise-analyzer-v8.0.4.R1

  • m2-enterprise-developer-v8.0.4.R1

Set up automation at session start

If you want to run an automation script when users connect to WorkSpaces Applications, create your script and name it m2-user-setup.cmd. Store the script in the WorkSpaces Applications Home folder for the user. The WorkSpaces Applications images that AWS Mainframe Modernization provides look for a script with that name in that location, and run it if it exists.

Note

The script duration cannot exceed the limit set by WorkSpaces Applications, which is currently 60 seconds. For more information, see Run Scripts Before Streaming Sessions Begin in the Amazon WorkSpaces Applications Administration Guide.

Set up automation at session end

If you want to run an automation script when users disconnect from WorkSpaces Applications, create your script and name it m2-user-teardown.cmd. Store the script in the WorkSpaces Applications Home folder for the user. The WorkSpaces Applications images that AWS Mainframe Modernization provides look for a script with that name in that location, and run it if it exists.

Note

The script duration cannot exceed the limit set by WorkSpaces Applications, which is currently 60 seconds. For more information, see Run Scripts After Streaming Sessions End in the Amazon WorkSpaces Applications Administration Guide.