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.115.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 229dbe0e96508aac6b8c2c6b860e265ab2d800503b0aef772f122f385e83a259 |
|
MD5 | d66a0d95a74630045f85f2b29249c11f |
|
BLAKE2b-256 | e6c0d793d197a758b942078e6dba7b4d43af8b432b0d0232eb0d6ca5f780ceda |
Close
Hashes for cdk_lambda_layer_curl-2.0.115-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecf3e0401aae29c1cf84c14e15f8f69aa4d964f3865bea1c331c82a120adb215 |
|
MD5 | c6f74864f6a23fd1339f7ad45af606f2 |
|
BLAKE2b-256 | 21ce752b5d90d83539e79937e47feb2ec1f106c2e8a956288a35825217a92000 |