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.581.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e529d03d03d7eff7418aa00b39e0e515f7b1babed885aa60d667b868f97b33e |
|
MD5 | d05048117361e0462a428312f0e19d2f |
|
BLAKE2b-256 | b50a4101283515faef081bb26cc884cf46749cb5335b460abe16bf56cb92598c |
Close
Hashes for cdk_lambda_layer_curl-2.0.581-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9d59a6c886cd3dae84ff96d1260a32bfff71fd838996f686604725b274036e9 |
|
MD5 | d3072bdd2f1da925552ad82ad7207431 |
|
BLAKE2b-256 | 00bb680ca3ffa9e6f4986434b6f456f19e0bde69e6bcb1185a6871316081c0ec |