How can I reproduce what the UI does when enabling CORS in the API Gateway using the AWS CLI

132 views Asked by At

When defining an API through the UI, I can simply select the "Enable CORS" option and it adds OPTIONS methods and a number of header mappings.

How can I achieve this through the command line?

0

There are 0 answers