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.533.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb909866bd287db9c643703d5e1ff51e0af85564d3c72107b48a77e908207d12 |
|
MD5 | 24027a0b85ce021834e405fba8323f39 |
|
BLAKE2b-256 | aeb6bf3fa317370b706dce3c40618b2e06bea25a910a92c4500bebc76b527415 |
Close
Hashes for cdk_lambda_layer_curl-1.0.533-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 750d3bd846f3d60f7a2a3cc65d3ea0be52ed005ab0771df8370b2fe310ed66a7 |
|
MD5 | 0574e59428624cfa763f5751baf24441 |
|
BLAKE2b-256 | d79db04634a49be5ea86866142c9c3bfaf174b70176a8a46368c690188d06722 |