modify createAutoScalingGroup method of AWSAutoScaling class.