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.300.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc5c9b8e94ead5debf1372c4c314015015fd88ffca0e34186dbd51ca09491b6a |
|
MD5 | 17ec651fd31f815d683731b81a4b9147 |
|
BLAKE2b-256 | ee8ad25353d800a92af8e1b770d28271c73225a7c0817b343cb90de12a8fa374 |
Close
Hashes for cdk_lambda_layer_curl-2.0.300-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfe02b63252c606a57f03d4b3b1b608cc26c13ec3f4bbfcd08305cff5944bb42 |
|
MD5 | 062a54e7b7d53b62d918eed411e06350 |
|
BLAKE2b-256 | 7190fbc3ece560e50f42e7747313f77a267752d713b3a20753908b4bbf1b11a6 |