CORS API action

The CORS API action handles cross-origin resource sharing (CORS) requests for an API.

When CORS is enabled, the API gateway runs the CORS API action to process all CORS requests for the API, including simple and CORS preflight requests.