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.698.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b05515dcfdd1cdd7e474c76cdb695b172019504ba78932ea938d16c7974d518a |
|
MD5 | 79173e05280db90ba41fe5a2f03130fc |
|
BLAKE2b-256 | 3ebdae3a19cc5f8924f74feacdd9bfe5acfaef2e0ea12df1ebaf009f5e2b1ae2 |
Close
Hashes for cdk_lambda_layer_curl-2.0.698-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5731cd1f64090a9640c8a3e98ef0cc68e07e337d8ee71fa40943a6a3f3bd38e2 |
|
MD5 | 49734248f3f43b0079223f0c1c8e497c |
|
BLAKE2b-256 | 5c8b75aacad1bc86de752cd39696d0fc695af80c2b29733755a3b531ae71b623 |