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.334.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb59e4e390e31d88feb62508ac5c1a354d6491ff1bcbb2139cf9f2b1e24a842f |
|
MD5 | 0df1b377472b68ccbd24795174170238 |
|
BLAKE2b-256 | c5f3548670dbbad1a79774d83930f251850c667e490007e16780f72ff9753172 |
Close
Hashes for cdk_lambda_layer_curl-1.0.334-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d22ae90d6d5bde60bdeb56155d31b28be38ef87f9c80fcd79e36aec7b7b317c0 |
|
MD5 | c590afb3a4edb4944a74c5d5e7ec165a |
|
BLAKE2b-256 | a3777e775ea196008a5a5c4a7954b9d971a004664646929971c8f3f0f1879c3a |