Can you use keyword argument formatting?
```python
download_url = "https://s3.amazonaws.com/{bucket}/{cert}/{uuid}/{file}".format(
    bucket=BUCKET, cert=S3_CERT_PATH, uuid=download_uuid, file=filename,
)
```