title: Enable CORS for API Gateway in Cloudformation template
body: <p>I'm creating AWS Cloudformation template for my environment and I can't find a way to enable CORS for API Gateway method.</p>
  
  <p>I can configure it using AWS console (<a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-cors.html" rel="noreferrer">here is the official doc</a>), but how can I do it in the Cloudformation template?</p>