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.648.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6038704cb5537b47b748b1cf325547ea84a2bbfd812af984b1131ed7bacd952 |
|
MD5 | 77a77e2c6b16adbab5cc9a21d75a4f85 |
|
BLAKE2b-256 | ca9364f78ff551dfdbdc0fa761d1c45d2a17cb1d44f886036b19d2da4757ff95 |
Close
Hashes for cdk_lambda_layer_curl-2.0.648-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd6a5ce09f020b5620cfdd2a435e4a53785b9f20118490cd6ba2d0dd76a24054 |
|
MD5 | 1549f81f4c4bc3049a0189b737d83c40 |
|
BLAKE2b-256 | 485c69dfd3c3edfcc5a723913bd20f76aab132306e4a48b365c19a2a3e310116 |