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.740.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 908410a5cf1617104630780ab62abdabe887612925f95af31a9f5bdaf1fd678f |
|
MD5 | 467bfca45b1465c7d598ca548fcba5d0 |
|
BLAKE2b-256 | 648348e7da479c4b95a6f69a09eac056c949d3973704cce99f5c5813f75dbe4f |
Close
Hashes for cdk_lambda_layer_curl-2.0.740-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6a28f1e4b9a2cce78d564616659060338af8ae1441241736dc7ee8093a4f3bd |
|
MD5 | e92f98e987634d8901a3ca06d42d99ef |
|
BLAKE2b-256 | 674178f05dda9097e09dec64ea7b5647391e8e57c9170994fca8b9b8a6a5585f |