S3 Static website hosting: Is it possible to add multiple query string parameters to the target URL in a redirect rule?
问题 I am currently hosting a static website on S3 which is using redirection rules to re-route the request to a lambda function. The problem is I have two buckets that are both acting as static websites (sandbox vs production) and I need to be able to point them to the same lambda function but be able to tell them apart when the function is run. Whether it's a header, a GET parameter, string manipulation, anything I can use to determine which bucket the request came from. Does anyknow know how