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.759.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6047461a617408b4d39b3242cd98693d5d976d20bb93f72f93937c8fe055c9c |
|
MD5 | 7e56537ba4df1501f13d7214e242b724 |
|
BLAKE2b-256 | c92c0e1e2094dd0f1a9411764f2952934189fdb140619d80c76a8def7794593f |
Close
Hashes for cdk_lambda_layer_curl-2.0.759-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 143bc8b096f80122b15c47b5026f322a351ace42a38333dee823e15fd4aa77e8 |
|
MD5 | 46fbb58f23fbc94aef7726a5f28a1f02 |
|
BLAKE2b-256 | 7de5429c86bb696134b78ac900a313e1678617b45bf577139061fdaeca106efd |