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.405.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14789929ea9c6defbba3b1e2dcde1e34f901ec807eb061f4ea5e370c73fef5dd |
|
MD5 | 7fc928d6bb8175537906b99168b113cb |
|
BLAKE2b-256 | 7f1b15c560ca71c44956550cba4fc91d76f8994744e4ecd64224a2bb02af08a3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.405-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 563c7245e98eac10deda02517aff98195c837640ef171af4a46249ca23b360ba |
|
MD5 | 578119c6f327b90892ebbf2d2ba1fcef |
|
BLAKE2b-256 | 92943db17db2a4310c76c4e42ee84a0cc4b1638dff0cdced583d8a24e8aa1aff |