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.372.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 444d8b34f20950a6f41316ce66b529e660b1409fb4fa2a3a5eb42da561fa41ad |
|
MD5 | 009fc407cf5911e2fe18cb0a7d20e7a4 |
|
BLAKE2b-256 | 2d14d13a4f9846f18d889174a94469254d23899987314e4d9293104348306b75 |
Close
Hashes for cdk_lambda_layer_curl-2.0.372-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b2b4f78be0a8e437684e6281531a9cd9b6e87af0e7d5e41429e13ec8cfbec69 |
|
MD5 | 332952ab500444c20ececee54c29d5cb |
|
BLAKE2b-256 | 9811b7f68c458541154f5aa3516a150f85c4b2fe44918ffaef0bceb36fdaecab |