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.819.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 951fdc16de5543a411335d65c5ce9468910eff7f8ccbf2183f3c00040335d71f |
|
MD5 | 1262bbc8ae74d7af6ef04557182ae3f1 |
|
BLAKE2b-256 | 710c5b9e04cdab33501ce1d9e421abb551a0fcd5fc0689283c6f184a919dc1ce |
Close
Hashes for cdk_lambda_layer_curl-1.0.819-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 578309114305bc3a7659ac38af6f883db44d2a4bcb34426824bfd72fcd352477 |
|
MD5 | 24b52fbf173895b6901f6e288ebf0638 |
|
BLAKE2b-256 | 1c5588762a71c35f4b3696eca78f36452c918d40f218c1fd387ed6d21f032cb6 |