2 Answers
- Newest
- Most votes
- Most comments
0
For Lambda functions triggered by View request or Viewer response event, memory is capped at 128MB. Can you verify that?
answered 2 years ago
0
Lambda@Edge has a number of limitations, one of which is a maximum of 128MB memory size for viewer request and viewer response events. This does not apply to origin request and origin response events.
You can find this limit and others here https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html#limits-lambda-at-edge
Relevant content
- asked a year ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 3 years ago
Yes, it is (as Cloudformation deploy error shows). Knowing this limitation, I don't know why AWS Trusted Advisor recommends me to increase it to 160MB
Could be the case that Trusted Advisor only considers computation metrics