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.630.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffe96dccb2c27c27bd3abe7fcd6992bf3fd980efda5c24d66ec728912738af73 |
|
MD5 | b4397932805066a3f56eac1d2a69504d |
|
BLAKE2b-256 | 5c6306537114ac137dc386e3ec5910116e769c22c0ae87c93f2c3775b119aedc |
Close
Hashes for cdk_lambda_layer_curl-2.0.630-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a508cc0aac8cdd02e87b35fc13ccbb58987591cb83a6d023205d0dc901fc75ce |
|
MD5 | cd4d196200b8854923d1e55240afc33c |
|
BLAKE2b-256 | 5882ef1fcde64a849fe59174610442588d4502dcc39d317e7e1c4eb5dc62d0aa |