wrapper for yii 2 aws