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.593.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bef54a5dc7b73d11b97d1eb61733e3a2689da1d241ae608b57e4f1dc65b6290 |
|
MD5 | ea566ed62094adddb1184e0ec2389808 |
|
BLAKE2b-256 | 66f65a87117531434c7869852e5d6be6d5a3f23230f233a42ce08c42e3c5acd4 |
Close
Hashes for cdk_lambda_layer_curl-1.0.593-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 348aefaf7572d17aced0ebcb3b44361dcd2f3640c4a3c7433b0eb3c86f714b4f |
|
MD5 | 102a54e9025c3c53cfb134a5c0a04a26 |
|
BLAKE2b-256 | ad62cc2e61d6ebcf36718c09acd821b8d8517342e97c4278e8d1e49271ed8c20 |