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.392.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 206201f00e6f63cdea1a6c033737eb48550d0c74782927587a761b6049d943fe |
|
MD5 | ae6641ff0330e695cee8406ed8f54918 |
|
BLAKE2b-256 | bfda9a0d66ac1fbaebf274e89eae2a916850b1ff395197a4021f9c63d86e44c6 |
Close
Hashes for cdk_lambda_layer_curl-2.0.392-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8ab26b4e2e1f4f12dae53ba3dc97d5bbda107d5a9f2572c637aa0a159815c44 |
|
MD5 | 5c4b97da1531a22a53445d0a1f0264af |
|
BLAKE2b-256 | 1a9415c4eb74da4a9381fb43ae8d235152a44edc853c773b374cd47129b83bc1 |