Outline: I need to use scikit-image
inside some AWS lambda functions, so I\'m looking to build a custom AWS lambda layer containing sciki
As of v0.50.0, the sam cli has direct support for building layers. You decorate your AWS::Serverless::LayerVersion
resource with metadata about which runtime strategy to use.
MyLayer:
Type: AWS::Serverless::LayerVersion
Properties:
Description: Layer description
ContentUri: 'my_layer/'
CompatibleRuntimes:
- python3.8
Metadata:
BuildMethod: python3.8