Amazon S3 API · Schema

CORSRules

Cloud StorageObject StorageStorage
View JSON Schema on GitHub

JSON Schema

s3-corsrules-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CORSRules",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "ID": {},
      "AllowedHeaders": {},
      "AllowedMethods": {},
      "AllowedOrigins": {},
      "ExposeHeaders": {},
      "MaxAgeSeconds": {}
    },
    "required": [
      "AllowedMethods",
      "AllowedOrigins"
    ],
    "description": "Specifies a cross-origin access rule for an Amazon S3 bucket."
  }
}