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.661.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f71a1c8240831f2f9b74027b45c7b598bd732897d5ee76848bab4b018af45d78 |
|
MD5 | c6c44629be65cb38aa56438dd052ced6 |
|
BLAKE2b-256 | 6f5d941071424d3fdddcf09022c96ebf44be46dfdfbc564449ddeec22ff6598c |
Close
Hashes for cdk_lambda_layer_curl-2.0.661-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95d08ccfffe2655b74ce55afa84cb576c346dad34f34eefa5c7b9469f1a0989a |
|
MD5 | 61eb09ea0354fc6c3f64d12f9ba5b16d |
|
BLAKE2b-256 | 89f62510a9d7d6ecdfad3192eab118b849682311e59efe0a1d02d776d0bae603 |