For lambda layer use curl
Project description
AWS Lambda Layer with curl
Usage:
// CurlLayer bundles the curl in a lambda layer
import { CurlLayer } from 'cdk-lambda-layer-curl';
declare const fn: lambda.Function;
fn.addLayers(new CurlLayer(this, 'CurlLayer'));
import { CurlLayer } from 'cdk-lambda-layer-curl'
import * as lambda from 'aws-cdk-lib/aws-lambda'
new lambda.Function(this, 'MyLambda', {
code: lambda.Code.fromAsset(path.join(__dirname, 'my-lambda-handler')),
handler: 'index.main',
runtime: lambda.Runtime.PYTHON_3_9,
layers: [new CurlLayer(this, 'CurlLayer')]
});
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for cdk-lambda-layer-curl-1.0.705.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31f3c692878862f49307823d704ef18ef2a1611f5dfb06da9da50052262e7cd4 |
|
MD5 | c9aeaf79ecfe38c17a7d07c18874a29d |
|
BLAKE2b-256 | 197bd47c29b999e3daf957cc52842e1e7dab9c6b605b8df0109eda7fecc30e3d |
Close
Hashes for cdk_lambda_layer_curl-1.0.705-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed3b1bf658f5906b165c3d2730e83d9ce9722b8744f79ca12aaf12dd4de0d458 |
|
MD5 | 8c56d3de8a184397f52886234f43a70b |
|
BLAKE2b-256 | 226aad2553e891e1e6a2a721992768dd06e1bfccf53f040225dc11c3baae6d1b |