Set Scaleway bucket CORS rules (full replace)
scaleway_s3_put_bucket_corsReplace a Scaleway S3 bucket's CORS rules to control browser cross-origin access. Provide the complete rule set; existing rules are removed.
Instructions
Set a bucket's CORS rules. FULL-REPLACE semantics: the provided list becomes the complete rule set - existing rules not in the list are removed. This loosens or restricts browser cross-origin access to the bucket.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | The COMPLETE CORS rule set to apply. | |
| bucket | Yes | Bucket name. | |
| region | No | Region to operate in. Defaults to the server's configured region (fr-par). |