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.592.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83af8a5c7c3aa7019c2e565426efa6783d01163bafd87fedc883b3fba94d254e |
|
MD5 | 0d3dffdad2b92608f6ff32af2dcc3d21 |
|
BLAKE2b-256 | e14b138207f2321c8b7bb1caf2567ba1fc3f61731f77f52ccdd4ca2432024001 |
Close
Hashes for cdk_lambda_layer_curl-1.0.592-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0311df011094976705f0b074e539350f4c1f3b1a2ef50fec78091e9254a6b271 |
|
MD5 | f70ae0ac147f21460932dc6661a804af |
|
BLAKE2b-256 | 4e71c75f4ec2501cd8d53b1b1270cff2951c214db172e050e1ad175d4d3db8e5 |