title: how to write a command line script to enable auto recovery in selected AWS instances?
body: <p>i have to write a command line script that can activate auto-recovery of any selected instance. i know how to set cloudwatch alarm manually, this time i have to do it using API and using argparse python library, i have to enable the ec2 instance. can anyone guide me please?!</p>