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.115.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9b8f5bc7ee95885179b0fb7ae70ec3a540eecb170136c90d9740d23437bc8b3 |
|
MD5 | 820df9afc7b3fe95843f841b74875265 |
|
BLAKE2b-256 | 16cce3ab0f489086447e57f01475af2119d6e3c76a5f823d5fda87a703b3bc48 |
Close
Hashes for cdk_lambda_layer_curl-1.0.115-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c91c840ebbbebb46562aa0b1e6add2544ba7063fec36f9a814358d947c647a3 |
|
MD5 | 5466edceb560a319b10832521b8ba351 |
|
BLAKE2b-256 | f1da952a43f70f00d8c7d1c1b87a3bce8c26bc672704fda2fcd958f12b92c81c |