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.705.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 995bfa407616d59f7d3b9aa37ad8fdc1f668d631ddc785a66cc2a7b9adb8b26f |
|
MD5 | 6006e271a8468400c82cb7378ba137ff |
|
BLAKE2b-256 | 6b3da27e3bf3d4fe003cd68498386d8fb743e465f2c42f8716227df3a6bc4f3d |
Close
Hashes for cdk_lambda_layer_curl-2.0.705-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83cdb2a838dfb444aeeb9ebaa50eff64562bc93f852285618bb76dfa2fd19b8a |
|
MD5 | 798a86712834cb3d3928bb74ddc66344 |
|
BLAKE2b-256 | af5c5b6fa0b5a13793f4d9c557d8f8d14a5327306a1cc25643a6a11e7af90a4a |