Medplum Bot Lambda Layer
npm install @medplum/bot-layerMedplum bots can run in AWS Lambdas. When running in lambdas, bots can use AWS Lambda Layers for pre-built dependencies and configuration.
This package defines the packages in the default AWS Lambda Layer.
Current packages:
- @medplum/core
- fast-xml-parser
- form-data
- jose
- jszip
- node-fetch
- pdfmake
- ssh2
- ssh2-sftp-client
- twilio
To use the Medplum Bot Layer in your own Bot packages, add @medplum/bot-layer as a dependency:
``bash`
npm i @medplum/bot-layer
For more details on how to build and use, refer to /scripts/deploy-bot-layer.sh`.
- Deploy Node.js Lambda functions with .zip file archives
- Creating and sharing Lambda layers
- Using layers with your Lambda function
- AWS CLI publish-layer-version
- Lambda layers node_modules