Menu
Serverless Image Handler
Serverless Image Handler

Implementation Considerations

Cross-Origin Resource Sharing (CORS)

The solutions template contains two parameters: Enable CORS and CORS Origin that allow you to enable CORS for your API resources. CORS defines a way for client web applications that are loaded in one domain to interact with resources in a different domain. With CORS support, you may make API requests from a domain other than the API’s domain. If you would like to change your CORS configuration after deployment, you can enable or disable CORS with the ENABLE_CORS(YES/NO) and AWS Lambda environment variable, or change the origin domain with the CORS_ORIGIN variable.

On this page: