#CloudFront OAC to lambda URL requires special header for POST - but none of RR's submits allow this?

1 messages · Page 1 of 1 (latest)

late jasper
torpid stump
#

By adding x-amz-content-sha256 of the payload in the header. But for a public accessible URL, that's not required:

Never sign origin requests
...
To use this setting, the Lambda function URL must be publicly accessible. If you use this setting with a Lambda function URL that's not publicly accessible, CloudFront can't access the origin.

late jasper
#

But I wanted them to be signed...

torpid stump
#

The docs say to calculate the hash of the payload and put the x-amz-content-sha256 in the request header.

late jasper
#

Yes? But it seems none of RR's submit hooks have a way of setting headers?