I need a code to be run in lambda aws and below is the requirement .
I HAVE TO USE BOTO 3 and aws calls to update ASG . The requiremnet is as below :
Check for a particular tag in Autoscaling group say example Not be removed . If this tag is yes leave it and if this tag is no then go and update autoscaling group so that we set desired capacity , minsize and maxsize to 0 .
Please note that i have almost 500 ASG in different regions