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.321.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 147fbdc67bd2b15cd607ac43fde1cdc5e4be15f65f79a64f05c7440e07b10589 |
|
MD5 | c849bb58dfc43c81130d7a23795554f4 |
|
BLAKE2b-256 | f89d6ef7439d3c17b5148505968e9003fe651c3d047b52f10f14d73179872a56 |
Close
Hashes for cdk_lambda_layer_curl-2.0.321-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f7053a3757b511deb97fa2271e410fbaaaa2680cc719a716b2b7b775804b2bb |
|
MD5 | b2b18ebe84b057b86335ce47e6826a6a |
|
BLAKE2b-256 | d2ba8bb5cd5edcdab6c6d6b736080d99ce1708bd63c0a7d4b16e9f9494adb550 |