AWS scripts for Switch with the help of node