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.616.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 052be5be1abfbcd593eafc5ec19d5fdad8d3286238a7b5608e637b06c2638824 |
|
MD5 | 4ae591a375d47b39bca81d3067128ca9 |
|
BLAKE2b-256 | bc4c96487e25c6038c1580a71c6b8709d048c93391bc7faf518adc6ffe47500e |
Close
Hashes for cdk_lambda_layer_curl-2.0.616-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0053e5e30b09ff6632642bf751f0a6d29ac7301a103ad56166968b86e6559351 |
|
MD5 | 9a6afbe9358ca398245cadfbf5b0465b |
|
BLAKE2b-256 | c43223fa056bcaedc86455cc2f3b6ad2056b59a333d3c20346c99c1fe58b9c99 |