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.336.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 562b358855a5aef5e3163c4614f9cc7c35a2b6b87d215b23d14ee77a25b39139 |
|
MD5 | bf0d6d95d3daa57041eb4a406eb400b0 |
|
BLAKE2b-256 | af59ba18f04476e794958a88bddae44903c8942ef8b1fbf7cac8cf395c33c792 |
Close
Hashes for cdk_lambda_layer_curl-1.0.336-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d350d687421bc38ce899371d79634405a2ffc2baadaea25e47c304ee85e4df39 |
|
MD5 | 7026e04344f76fbfe9147ad67678ffd0 |
|
BLAKE2b-256 | 98ea6ddf5a82c303ef9bc4daefdcc0a1034d104c227b988a6c8467d90f5102d7 |