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.497.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5dfac03e7cae0b7d05a516046a33a8c588791937daf0d0fda39681db07867de |
|
MD5 | 7e41aa838afda3e24869548a625dbe9a |
|
BLAKE2b-256 | 1a8f66e6c78a4e9962bf7b2a9766f8cd6a17e9a4374cb1d95ad6f18c1c4ab54d |
Close
Hashes for cdk_lambda_layer_curl-2.0.497-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f200072d7a67187bc7734651b0ad566c6eedb7b7e08769939c24ddd2eec144c6 |
|
MD5 | bd1e920cbc6d800db2b4c7ba3c203713 |
|
BLAKE2b-256 | 29eecc037ae6436fd1b2cdf3e84d6b9def8c07a24e952fc31566284e649b0965 |