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.796.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 418030a491d51b572b3a8c93a8c6119e1b8d50844f3afe3fbe29f9e66fb27227 |
|
MD5 | 1a2dd2a8d6ae3e647f296176048708f1 |
|
BLAKE2b-256 | 6cd5fafad1d5d6e31bc7c30bfd8092b17940c16e9a7f646c794ca1cdcb6bc764 |
Close
Hashes for cdk_lambda_layer_curl-2.0.796-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb66554f352a4ab0a8d98cb3f725c3c0bbb6eae995bffdef0ae5b7fe76e6ac63 |
|
MD5 | e87de52dd6e8ea7af04e92a08a3df6ec |
|
BLAKE2b-256 | ec326453baeb4b3bb79b5b5054d90d5befef48b9409df311ca5ef29ca594cb01 |