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.299.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffd06561dc6fe77fa9d87eaed8675a9bc9ad03ee2ebe267882275dc91f374551 |
|
MD5 | a856c83575e35da4640180b7554c8e03 |
|
BLAKE2b-256 | e000bdf0734126ba9b6848baf6f7de41f0119a50e5fd4e24420bea8f53274114 |
Close
Hashes for cdk_lambda_layer_curl-2.0.299-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76aa671dedd5431235809ab169bfc65d0bf57f1ab4e2162c7bd7a239664bc73e |
|
MD5 | 11e8200639c086dec2fc6017f51516ea |
|
BLAKE2b-256 | bfe9e20e65255566c8111600babb6a719e10660fc5433ad5e60b7f7e0f1d700c |