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.580.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 309e06abb6fd98a4cb780af441c0349b92dab5c8e21b89a3c1ce98aa5c8f9db4 |
|
MD5 | 62ad4cf418ffdac240ceeee81ca9d550 |
|
BLAKE2b-256 | de70e8a468dbf4d4533a6b8415c5ded4a61b7384d0f3fb3ba6d69207aeb4653f |
Close
Hashes for cdk_lambda_layer_curl-2.0.580-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 269a8cdabdeacb1a0587ab51c9743a57e76d8a93526a27d9bca3c0b76f9ab938 |
|
MD5 | b3da41195648ff8f92df9414a5f66254 |
|
BLAKE2b-256 | 4af43e9a97b26fff012836aaf536f5529afca8c53863f227c12ad5a64902a91f |