What AWS settings should be used to self-host Mattermost?

Hi, I also have a related question:

I’m running a version of mattermost on a custom cloud infrastructure that also supports S3. But clearly it is not part of amazon.
My config looks like this:

AWSSettings": {
        "S3AccessKeyId": "xxx",
        "S3SecretAccessKey": "xxx",
        "S3Bucket": "CHAT",
        "S3Region": "https://os.zhdk.cloud.switch.ch"
}

Is it possible to work with an S3 object storage outside of Amazon?