I want to run the bash or shell script in Linux using the SSM run command. But I don't want to write it on the Linux server and execute it remotely using the SSM command. I want to write a script in the run command itself.
Is there any way to run a script from the AWS console? Apart from the run command is there any other way to run the whole script?
I am referring to the multiline script not only one command.