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.18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78a3651f80bdb6d6ee642862513cb93599407588256f969f1c2bd871362d4461 |
|
MD5 | 1bd9b78fab535aafdbe8987a4e7aaf2e |
|
BLAKE2b-256 | f701d39769b62eed619cc4cb715f3e8cf67631e0bf8d7a1ecb6dd4cadac0a011 |
Close
Hashes for cdk_lambda_layer_curl-2.0.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 613c980c2142466807a13aa84616e319679d416d2ccac6b935df878821719c51 |
|
MD5 | cf881b495dd50051b9d553ee8e1c76fe |
|
BLAKE2b-256 | 6219155b0d9dc76f411af11545c9136911cfc34b2f6187a78ce40d4ceb438f2b |