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.633.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 499896ace76f704c0341b9c11263ec0a05b4be91365554d0f8ad2a00d20859f4 |
|
MD5 | 4cfa41a1ed78e1aaa326adc6bf03304c |
|
BLAKE2b-256 | a50abf1591ad0bddde30b977631c9bab6cc807e0f46d3450e37bfe2173f53444 |
Close
Hashes for cdk_lambda_layer_curl-1.0.633-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29be20b137c6e35f6d6682f89ff860e339408c12bfee094761494a7c68fa504a |
|
MD5 | 97f05f940cbd6bfc6a0d13c217abc564 |
|
BLAKE2b-256 | f3407692c48f51758cf6129e073cb9047b4b125dd625cdd9af3e604e41d0fb01 |