title: S3 Hosting + Api Gateway
body: <p>I'm trying to host a static site in S3 with ability to handle some dynamic content using Lambda/Api Gateway. Can't seem to be able to do that.
  I want URLs to look like this:</p>
  
  <pre><code>example.com/index.html
  example.com/images/*
  example.com/css/*
  example.com/api/* -&gt; API Gateway 
  </code></pre>
  
  <p>Also, when redirecting I'd like to keep the example.com as a root domain. I tried RoutingRules in S3, but redirects from the client. I need this to be transparent from the user, like proxying requests.</p>