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.568.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f44f7fbfab1c45a72439682d9e1c3794098ba649753eb1aab44cccf4a924d7d7 |
|
MD5 | 3ff7c853f4f001b8dcf5531cec943292 |
|
BLAKE2b-256 | 224c5774cdabc66b729b2da10fedc65ff325c0a772203afeb12af61201405378 |
Close
Hashes for cdk_lambda_layer_curl-2.0.568-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd7a099ae59b421c7428ab3204d367af5d9b1ab6bec52e771d472defe5a38929 |
|
MD5 | 366643f3ec9e04b8510249c5af8941b7 |
|
BLAKE2b-256 | 76c6eb21b75a7feb8381aa6e353c3008d586ee3b3d57fdc5438d3b61d1b6c3be |