You can now use AWS Systems Manager Session Manager to specify a single command or a sequence of commands that execute in an interactive shell experience on an Amazon EC2 or on-premises instance. This enables you to easily limit user interaction to a specific command or command sequence, which helps you manage the interactive actions a user can take.