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.72.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7216479d5fd641cdb38f1d0c803ccd54f88c051a5398b08750fd17fbfe833217 |
|
MD5 | 5f75de831ab261a83dbea4daa84fdaac |
|
BLAKE2b-256 | 4b4756f028b16eed51a88188410f56c93bb293e71080d9a0d6a8fd1d4797b217 |
Close
Hashes for cdk_lambda_layer_curl-1.0.72-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bde1223ad72244750ceb1abee665d190180e946d7d42072927480efb8eb560dd |
|
MD5 | 9e6edba9cd4724b22acbe369001d1d6b |
|
BLAKE2b-256 | 735856d8f663cd2f7f66ecda2d81762169d8393ca8c9c29564be1855140bb7fc |