Connecting cursor over ssh to AWS

I’m trying to connect over SSH to an AWS instance from my windows local machine. When using vscode I specify in the user settings.json file, among other things, the following line:
“remote.SSH.path”: “C:\Users\my_user_name\bin\ssh.bat”

ssh.bat then contains the following code:

C:\Windows\system32\wsl.exe AWS_PROFILE=A_certain_AWS_profile AWS_USER_PROFILE=A_certain_AWS_user_profile ssh -l my_user_name %*

The same “remote.ssh.path” setting does not seem to be available in the cursor settings file (it is grayed out).
Is there an equivalent setting? Else how would I perform the same operation as the one specified in the bat file?

Thank you in advance for your help.