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.215.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b626c7ee7db2bc67c3ca10cdab01dac30d755e60d77e9ab6538dc1909de28ea |
|
MD5 | 86da5db2f8cd5c3e770ed120b035c318 |
|
BLAKE2b-256 | ea65fdf2096d69d1715e0e8e9ec8ab7845b0e1aab6fc52cc10a13b2cac32cc15 |
Close
Hashes for cdk_lambda_layer_curl-1.0.215-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bbc6128cb229260d082a23dafd5ae2994a99e226b8c99c993ca57d9b9a18d3b |
|
MD5 | 58763b5a50d797a47923ac5de8ba02b1 |
|
BLAKE2b-256 | d0ea79b407a8a866c73c9c9e4f168fc29662972559515f14d340192625b21f12 |