TencentConfig to an S3Config and reuses the exact same backend,
commands, and behavior as S3, it just derives the right COS endpoint from
region. Uses aioboto3 against Tencent COS’s S3-compatible API.
The endpoint is computed from region as cos.<region>.myqcloud.com
(e.g. cos.ap-guangzhou.myqcloud.com). Pass endpoint_url to override.
Tencent COS bucket names include the APPID suffix, e.g.
my-bucket-1250000000. Use the full name (with the suffix) for bucket.Config
READ and WRITE modes are supported.
Example
Notes
- Tencent COS reports
ResourceName.S3and routes through the samecore/s3implementation, so the full S3 shell-command set applies. See the S3 resource for the complete command reference, range reads, streaming, and the index cache fast path. - For credential setup, see Tencent COS Setup.