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.536.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d436ceb5d361466a6a917bd4e5b2888c8988ed555d3d45c76a6464edd6a504c |
|
MD5 | 709d5258a2618882be35bda15778cd4a |
|
BLAKE2b-256 | 195433fb9b4a2403b9d8d373e161d2111581bbbab2f1e940df9a72d295ce897e |
Close
Hashes for cdk_lambda_layer_curl-2.0.536-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6855e5d8e0ea1d811a4603f345fbf29bee5c969d6d696a50ff29117cafd194d8 |
|
MD5 | 69c1cbf2270948d8ade83ec9f0da789d |
|
BLAKE2b-256 | cfb57883f699d89a6bf66a6e11820a2725d966f5efae85e090341640a4b3f6b9 |