I need to pass the Id value to my controller to execute the action. Currently this is what I have in my controller.
def StartServer() { amazonWebServ
Use anyone from above according to your need. I bet you will also get samples/questions/answers here in SO related to the same requirement if you search.