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.227.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b365090f766a4726d1cba5fa4153640dcf347f2ab5705c0e048fd92ac26d627 |
|
MD5 | ab931d52f194e9ad78bed99c58094f84 |
|
BLAKE2b-256 | 9d8f081a4e52ec5b70e0aacb46596eb22faed3fc4700626ab36419a6192d1d70 |
Close
Hashes for cdk_lambda_layer_curl-1.0.227-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91d7297484833d4710084c6ed371976a09e9082434f6ee81e990c10c79134124 |
|
MD5 | bae813f997fddac0e5a9f5b82cdda60b |
|
BLAKE2b-256 | c49d574a0b12b463781d5dba7507a5bb31b6d0ea9064ea6dde33bbe015743d21 |