Is it possible to backup to a directory inside an amazon s3 bucket?

I would like to set backup_upload_remote_directory to something like my.s3.bucket/myDirectory but it doesn’t work.

Do I absolutely need to have a bucket exclusively for gitlab or is there an option to do this?

Thanks!