title: S3 static website redirect using htaccess
body: <p>I am working on migrating a static website to Amazon S3 + Cloudfront. I also have to migrate a htaccess file with over 100 entries. I thought about using AWS Cloud Front function. But I am stuck to how that might work.</p>
  <p>If this isnt possible the next option is rewriting the htaccess rules to the JSON format for object redirect in S3.</p>
  <p>Or is there a better way that I am not considering?
  Thanks</p>