amazon rds - RDS instance script -


can me how should bash script check if rds instance running, , if are, stop them, like. , if not running, script should exit message:

no instances running.

i have used aws cli start , stop instances, not sure how collaborate them in 1 single script.

aws rds stop-db-instance --db-instance-identifier mydbinstance 


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -