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.49.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ffcd5544f08c1d81be4b9d776c6b5aa06a99db86d480b16ce51ce122cf0112a |
|
MD5 | dd289e3eb3a28a16e472e978002fb456 |
|
BLAKE2b-256 | db8c3d84a59001aef48774e2f8427fe187ee82f51227ea79b809b0184f4ffc09 |
Close
Hashes for cdk_lambda_layer_curl-2.0.49-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97ce21cc4aa4ee3a31c8f860748f3e20c8c5c80c7aa6db6607224e025001bc46 |
|
MD5 | 49299a2547875ab1fa126e998de4e269 |
|
BLAKE2b-256 | 99d990e1d2e71c7c4cdfd8faf25569691dbc7c1d888c7acb384dd36674d78ab7 |