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.212.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73a0f8e45e8c3c513c94ac216741a4aaacc35fd7e667f238c75c134162bc9f08 |
|
MD5 | 0edf546293c665ce293c44ef59b219db |
|
BLAKE2b-256 | dbaa21e8ed0825a6aee9a4d5011ea407dabf8eec2e7ca657ea841f046ef9ff01 |
Close
Hashes for cdk_lambda_layer_curl-2.0.212-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e46daa900c0f844db4a61916c2ff218e364b894a8c744cb9e77fb04f4e21a8e |
|
MD5 | 7de371db3c19e69b3ae54f9fb73ee52e |
|
BLAKE2b-256 | 88700b60651d3f9a4072cbf54150f5538ab0312b60ca30909e7f980748dc66e3 |