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.492.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1ecffcc5bc5eccf2521744156afdf75636769f0ef1e0f44842498a0376078df |
|
MD5 | 3da38e97560a6db712cb984e51c95ada |
|
BLAKE2b-256 | c6090d0b026619087f6a0775219c519da0fd01371054aafd2376203ba39a81ef |
Close
Hashes for cdk_lambda_layer_curl-1.0.492-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6942e1d12626149d6ff22ced3da1b2cafc626b9bb7df8262688666bfafd817e9 |
|
MD5 | 6201dc3f6951609557729224abd48d15 |
|
BLAKE2b-256 | 1a5220c60584e35c81c56a40d4f9c5b2c6fab777c9a72dd1b7bccbbb930e9dd1 |