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.793.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08ed9d31387998e79b5576086ac1b177e3729540622299712f6ebf7454ed53b4 |
|
MD5 | c7a19c1938f97e1c98ea105b49e4567c |
|
BLAKE2b-256 | c1085bb8b856ccd065a83f0a2436b7948b43c2a6ff47da126125fa1ee5a23f74 |
Close
Hashes for cdk_lambda_layer_curl-1.0.793-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b739a84e67c2ffba0b4293f8a06cdae20238205446c00c36a621c9783e4a5c51 |
|
MD5 | 4d92e185aa8db2c2daa3e10eea76a70a |
|
BLAKE2b-256 | dd025f7e5085c49ecc77f430fe141091f584b752eccbd3f21f936d621b82b2b1 |