create s3 object from lambda