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-2.0.504.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ea232680f4c787512af91b8e1c668789a58e0a75a0dafb2953dafd43bf1fea6 |
|
MD5 | 8a697f2e71aacafbdd25b280223faa0b |
|
BLAKE2b-256 | b6dfa4934a3bb06df81fc224611d29d2eeb9c270f91bad8cf22976c40d5a0429 |
Close
Hashes for cdk_lambda_layer_curl-2.0.504-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33e6c9bfe054cbefb017c1bf3b6f0f5318820085aca8bb23a06263eaa1d80649 |
|
MD5 | 04cfeb066d3ca26603ea0ec05d42317d |
|
BLAKE2b-256 | 287317dcad3a3175511da2a74dfe5061da19aafae31aab035550709a856132b0 |