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.108.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a85ae2bc27e4c0c51dc9608ebddbc1ff5431a0feb62b3d208c58dda01a3b461e |
|
MD5 | 9e3c6d0426f9d0a2e3edae2ff08e0d7c |
|
BLAKE2b-256 | 399ced51d7840883d4aca5029908c0f2c752b015dcb01dba079adc14a9de395d |
Close
Hashes for cdk_lambda_layer_curl-1.0.108-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 534c8206c1f1719bcfd830353982103b6ca52f7fcdec447d958c57f3276c77b7 |
|
MD5 | 7b5b2f7aab7f542b9a0a23fbd98febab |
|
BLAKE2b-256 | 060711fcf406544af14f4523c145778ddf70f9b3d6c9d1e1c3e7ef1b498244b9 |