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.516.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f410b1120bc423d3a9e3cb832b41b71f51046b932d0a9163089d4bee120121d5 |
|
MD5 | 4badf89861f3483de576cc2d990b17cb |
|
BLAKE2b-256 | a11aca15b57f1c5e429c3cc1496d02c1799beeb41cda8ce13ec108d14b7076b8 |
Close
Hashes for cdk_lambda_layer_curl-2.0.516-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21ac0ec95512b699d80cddf81a0a363dff67111efa095afadae7520145ed7581 |
|
MD5 | 789e66203967777c995f11d96a94b1ff |
|
BLAKE2b-256 | 14279ec59b5a30f86fc0399d488bf5d3d64ec617deb89361ea0c8d0980e76759 |