title: AWS Api Gateway CORS "access-control-allow-origin" Regex with Cloudformation
body: <p>Is it possible to have a wildcard sub-domain for the CORS headers in AWS Api Gateway?</p>
  
  <p>E.g. (Mock Integration excerpt)</p>
  
  <pre><code>"ResponseParameters":{
                "method.response.header.Access-Control-Allow-Origin": "'http:\/\/*.example.com'",
                "method.response.header.Access-Control-Allow-Headers": "'Content-Type, X-Amz-Date, Authorization, X-Api-Key, X-Amz-Security-Token'",
                "method.response.header.Access-Control-Allow-Methods": "'GET', 'OPTIONS'"
              }
  </code></pre>
  
  <p>Currently, I'm getting the error saying that CORS header does not match with what I have in Access-Control-Allow-Origin.</p>