AWS Lambda · JSON Structure

Aws Lambda Cors Structure

Type: object Properties: 6

Cors is a JSON Structure definition published by AWS Lambda, describing 6 properties. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

AllowCredentials AllowHeaders AllowMethods AllowOrigins ExposeHeaders MaxAge

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "Cors",
  "type": "object",
  "properties": {
    "AllowCredentials": {
      "type": "boolean"
    },
    "AllowHeaders": {
      "type": "array"
    },
    "AllowMethods": {
      "type": "array"
    },
    "AllowOrigins": {
      "type": "array"
    },
    "ExposeHeaders": {
      "type": "array"
    },
    "MaxAge": {
      "type": "integer"
    }
  }
}