#!/usr/bin/env bash
if [ -n "${AWS_CLOUDWATCH_HOME:+x}" ]; then
${AWS_CLOUDWATCH_HOME}/bin/mon-cmd mon-set-alarm-state "$@"
else
echo AWS_CLOUDWATCH_HOME is not set
exit 1
fi