This script is useful in creating step-in scaling and step-down scaling policies based on number of messages available in queue