Creating an origin request lambda@edge to intercept cloudfront events. Every example I can see in the aws docs https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-examples.html refers to the event as
const request = event.Records[0].cf.request;
can the events be batched? unsure if I have to parse the whole array of records. Can't find a definitive answer in the docs