2

Behaviors on Cloud front are based on path. I'm trying to see if there is another way to add behavior based on request header without involving Lambda@Edge?

For example, requests with header 'user-agent'='somecrawler' will be directed to behavior, others will be directed to another behavior.

1 Answer 1

3

No, CloudFront cache behaviors only support path-based routing. As you've mentioned, you can use Lambda@Edge, but that's more complicated.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.