BucketsCORS
Returns the CORS configuration information set for the bucket. CORS allows cross-domain communication.
Table Specific Information
Select
The driver uses the Amazon S3 API to process search criteria that refers to the Bucket column. The driver processes other filters client side within the driver. For example, the following queries are processed server side.
SELECT * FROM BucketsCORS WHERE Bucket = 'TestBucket'
Columns
Name | Type | Description |
Id [KEY] | String | An optional unique identifier for the rule. |
AllowedOrigin | String | One or more response headers that you want customers to be able to access from their applications. |
AllowedMethod | String | Identifies an HTTP method that the domain/origin specified in the rule is allowed to execute. |
MaxAgeSeconds | String | The time in seconds that your browser is to cache the preflight response for the specified resource. |
AllowedHeader | String | Specifies which headers are allowed in a pre-flight OPTIONS request through the Access-Control-Request-Headers header. |
ExposeHeader | String | One or more headers in the response that you want customers to be able to access from their applications. |
Bucket | String | The name of the bucket that CORS belongs to. |