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.148.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae89cabe56813cb621169da45afa1ca9fe7a0cfdcccd20b49233d9b4958f798a |
|
MD5 | 20c3642d9656ffda373761dd02999eea |
|
BLAKE2b-256 | b2edcc5ca0146fac2badd4603f2410efadeed443dfb74384eb734dd73af902b6 |
Close
Hashes for cdk_lambda_layer_curl-2.0.148-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7398dbad7620b6a469d1a64e904e27fc2c70f154bd4711f352a7fc73e146055 |
|
MD5 | 23397785295819ffd12059d5d8dc69f0 |
|
BLAKE2b-256 | d53f75e589b46e43a42afa7441c58ffd0264b1b36732de7b9ea8cb8413b6f318 |