AWS Lambda · Schema

Cors

Cross-origin resource sharing (CORS) settings for a function URL

Properties

Name Type Description
AllowCredentials boolean Whether to allow cookies or other credentials
AllowHeaders array The HTTP headers allowed in requests
AllowMethods array The HTTP methods allowed
AllowOrigins array The origins allowed to access the function URL
ExposeHeaders array The HTTP headers exposed in the response
MaxAge integer Maximum time in seconds that a browser can cache results of a preflight request
View JSON Schema on GitHub