跳至内容

Cookie parsing to route in ALB rules

0

Hello all, We're looking to parse a specific cookie which looks like key=value1-value2. We'd like to route based off of "value2" after base64 decoding the Value and parsing it for value2. Is it doable inside an ALB rule?

Thanks, Chandrajeet

已提问 1 年前339 查看次数
1 回答
0

ALB don't have the capability to decode the cookies with base64 encoding. I would recommend use Lambda@Edge or CloudFront Functions to perform the complex parsing and decoding. These services can modify requests before they reach the ALB.

AWS
专家
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。