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.86.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 007b58efe718a868eab9563a6948ad4abfeee9b9463b077c28103d80f6ec0263 |
|
MD5 | 9d2709f086c171f983a32d1f8c590365 |
|
BLAKE2b-256 | 7652632111ec0adec1dde9f81071da7b1e0a8b715d90b269dd19764d83196846 |
Close
Hashes for cdk_lambda_layer_curl-2.0.86-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21963a690a8cffba2736a868467a0c69745d28a8270bc08c0de341d894b2808d |
|
MD5 | 654616e37dfff36d178964755de7d3c1 |
|
BLAKE2b-256 | 3d75dbe86ee30aa461823b1246e5c1df9ef5c45827efc13f2afefaff2dc0d4d4 |