BucketsCORS
Returns the CORS (Cross-Origin Resource Sharing) rules configured for a bucket, allowing controlled access to S3 resources from external domains.
Table Specific Information
Select
The provider uses the Amazon S3 API to process search criteria that refers to the Bucket column. The provider processes other filters client side within the provider. For example, the following queries are processed server side.
SELECT * FROM BucketsCORS WHERE Bucket = 'TestBucket'
Columns
| Name | Type | Description |
| Id [KEY] | String | An optional identifier that uniquely distinguishes this CORS rule within the bucket's configuration. |
| AllowedOrigin | String | Specifies the origin domains that are permitted to send cross-domain requests to the bucket. |
| AllowedMethod | String | Defines the HTTP methods allowed for the specified origin, such as GET, PUT, POST, and DELETE. |
| MaxAgeSeconds | String | Specifies the number of seconds a browser is allowed to cache the results of a preflight OPTIONS request before issuing another one. |
| AllowedHeader | String | Lists the HTTP headers that clients are permitted to include in a preflight OPTIONS request. |
| ExposeHeader | String | Specifies the response headers that are exposed to client applications making cross-origin requests. |
| Bucket | String | Specifies the name of the S3 bucket to which this CORS configuration applies. |