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.59.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8fb5c5577751eefd1e6d20d437f8a83b63f57e0a7942657d2968ae9d4266726 |
|
MD5 | 60e966bad4daa57679b16e62545b7a7f |
|
BLAKE2b-256 | 7c38378047329e24f63c36b74cde6387deb3e17d8c05727784aeb21a810fd106 |
Close
Hashes for cdk_lambda_layer_curl-1.0.59-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cde037a17870fda2b15d61d295f7fb5bca6f1167a1c8cfa731ece4b4e1b3fb1 |
|
MD5 | f53874a6919de2fec6ec83b6255e9e70 |
|
BLAKE2b-256 | 37f305821662009e3f2aea525c8cfa1484b33af737cd303eb7932aa83773a512 |