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.710.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdcbca8617f14d8ada5936b453ea05e95a806b50f9d3ef18dad23a75d3118f40 |
|
MD5 | fd06de85292dc868f5c0fc2b8f23eb4a |
|
BLAKE2b-256 | aa2b3a05ac59f37e5630c51c160aac2bbb13f5e7b3c3d09808c016fb77f44b4c |
Close
Hashes for cdk_lambda_layer_curl-2.0.710-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de28d8f384f45e9fb903570ab221e5dcd2ea64881e236ffc6533fdf08932cac4 |
|
MD5 | fc4a1af29eafc76d371593f52f64d27a |
|
BLAKE2b-256 | 696a5a2f002d81403bc2b2214ae88204d07ff7d421dfe267d4f089daed0b0d37 |