Passer au contenu

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

demandé il y a un an339 vues
1 réponse
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
EXPERT
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.