I have a lambda function which filters out running ec2 instances and stores them in an array, then it is sent as a payload to the s