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.195.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 274dd960c59fd95e0c6317ca4e9e37426c0e3c52320c6030bfe4b497bc6f8aef |
|
MD5 | 83b300b36d35dc7b36e689e122edb5e2 |
|
BLAKE2b-256 | 8ea6496b35513c2f2bdf091fbfa70accd4ad7ceb6df2761804e26348e8b12d66 |
Close
Hashes for cdk_lambda_layer_curl-2.0.195-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16bf573b36388f07a1908b2cfe114a8d8ac59f4ea74dfc650c14f87ec3b641e6 |
|
MD5 | 10a5e9b60ad10754a4b7bebd4072dc36 |
|
BLAKE2b-256 | dccccca56aff459ff18b03fabd6eb03ff740d55fdb110ff50ef882365b2a3f68 |