Or you can use a glue job, which is similar to lambda function but it doesn't support node.js, if your script is in Python, glue job might be a good alternative.