Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 737 Bytes

custom-lambda-layers.md

File metadata and controls

19 lines (15 loc) · 737 Bytes
title nav_order
Custom Lambda Layers
76

You can include and use your own Custom Lambda Layers. This allows you to handle cases of extra customization like additional system libraries and gems. Here's how you configure custom Lambda Layers.

Jets.application.configure do
  config.lambda.layers = [
    "arn:aws:lambda:us-west-2:112233445566:layer:my-layer:2",
    "arn:aws:lambda:us-west-2:112233445566:layer:another-layer:8",
  ]
end

Jets uses one layer for the [Gem Layer]({% link _docs/extras/gem-layer.md %}). The current max Lambda Layers is 5, so this means you can add up to 4 of your own custom layers.

{% include prev_next.md %}