Get Scaleway bucket CORS rules
scaleway_s3_get_bucket_corsRetrieve a bucket's CORS rules to inspect or validate cross-origin resource sharing settings. Returns an error when no CORS configuration exists, helping identify unconfigured buckets.
Instructions
Read a bucket's CORS rules. Errors with NoSuchCORSConfiguration if none are set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | Bucket name. | |
| region | No | Region to operate in. Defaults to the server's configured region (fr-par). |