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.722.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93abea6cc2bbff2649f5ed5fc08de006292f1aaceac040de26e71301bf714d5d |
|
MD5 | db6a84f271afb19fb20adb682aca1fc0 |
|
BLAKE2b-256 | 38872448d80da50e2096d622208c97e08a129685c22d4d6d50f38010fe638788 |
Close
Hashes for cdk_lambda_layer_curl-1.0.722-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9881478dcf1e5a4f01fc76eb43c4562413ce68ca1df39aed24f1b81b6554881f |
|
MD5 | e51d6d4ef17b29214ab8eedc1513fafe |
|
BLAKE2b-256 | 191c3e33e296113f052eb8534f175283463e163d68c9eea42e56cb34e5ab812b |