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.175.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd8e0c588056ee1996c8d1b380e09e39359e7b7395e9aef47752b604e056fdb3 |
|
MD5 | 8c3d57aed49e55c9da42f1664cc0d0f5 |
|
BLAKE2b-256 | 72b9ba59eaf66c3bb47e2e0aae488c707f67d1c76488f6caa92014cc60ca7235 |
Close
Hashes for cdk_lambda_layer_curl-1.0.175-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d954b38f46469b340ca4292b265d8158a8cd08c1e00de56379616310acee4e27 |
|
MD5 | f24f37bc1454a23cdbdca46663189351 |
|
BLAKE2b-256 | 9df5101c424c3e2df9467dc633923e29977affca1c9451caf0d9a7e62d38d95a |