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.307.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e8de908f425924b26d4dc6400cb145f1ed494e9ac52522710faf5983448b978 |
|
MD5 | 93d9663f299fc9b5f706aeb729e599c1 |
|
BLAKE2b-256 | c1425edd4a80ff560312e6dc34c55c7d7142029bbc00d3554cf99940f7627b9b |
Close
Hashes for cdk_lambda_layer_curl-1.0.307-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bda35c983eeadfe1a4dbc0c80dae296df13f7f73522ce4197bfe63a449aab24 |
|
MD5 | 586a1d837676bb418e0204ec565aa435 |
|
BLAKE2b-256 | 304098aadef13451fdaca66e703b5f8e84d1fa6dc366f6031fbb83019bdabc34 |