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.306.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0fca85267267ddf7dd04b4bdce0b19712cab2332d591fa1f892f994a2b435c8 |
|
MD5 | b299c2d6b44839a34f46beff7be1c7b9 |
|
BLAKE2b-256 | 10eb17d8f3e516eef336927d373f126b286250c058d99d4ffd399be3d74a6413 |
Close
Hashes for cdk_lambda_layer_curl-2.0.306-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0429d529db6d9e19c7a8a6281651965c1cc31b872417cb45c73b52704a3ea381 |
|
MD5 | 2d5e6f6203d0714cd428eadd95bf2cd2 |
|
BLAKE2b-256 | a87523f73b8996788accb9c0832c05248dba27115116ffad1a469fd139246180 |